From: Oleg Broytman Date: Tue, 12 Apr 2016 16:55:30 +0000 (+0300) Subject: Add usage for ml-import.py X-Git-Tag: 0.0.4~15 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=c0abd0bc5145476ee9cae50a5db7dea818b8da5c Add usage for ml-import.py --- diff --git a/docs-ru/command_line.rst b/docs-ru/command_line.rst index 5f5081a..44b30bd 100644 --- a/docs-ru/command_line.rst +++ b/docs-ru/command_line.rst @@ -17,6 +17,10 @@ ml-initdb.py ml-import.py ------------ +Использование:: + + ml-import.py [file.inpx ...] + Инициализирует базу данных, импортирует список жанров и список файлов INPX, перечисленных в командной строке. При повторных запусках не переинициализирует БД и не переимпортирует жанры; так же не diff --git a/docs/command_line.rst b/docs/command_line.rst index 03bb75a..8f0e456 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -17,6 +17,10 @@ the next script does all that too. ml-import.py ------------ +Usage:: + + ml-import.py [file.inpx ...] + Initialize database, import genres list and import a list of INPX files listed in the command line. On subsequent runs doesn't destroy DB or reimport genres; it also skips already import books but import new ones.