X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Fcommand_line.rst;h=0e63d97acd8b1d72fd34510848b54ca9fcd15acf;hb=315ee1386d04a3ff44088b19d9ce1c1d79218111;hp=2697d50d64e7b99b188a01cd2f9b05c6f69acb33;hpb=a10f5b70948be1bd082fde61ac746c8ca7ec20fa;p=m_librarian.git diff --git a/docs/command_line.rst b/docs/command_line.rst index 2697d50..0e63d97 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -66,9 +66,9 @@ Author search Usage:: - ml-search.py [-i] [-I] [-t ...] author [-s surname] [-n name] [-m misc-name] + ml-search.py [-i] [-I] [-t ...] author [-s surname] [-n name] [-m misc-name] [fullname] -Search and print a list of authors by surname/name/misc name. +Search and print a list of authors by surname/name/misc name/full name. Options:: @@ -91,12 +91,33 @@ Example:: Search and print a list of authors whose surname starts with "duck", and name starts with "mack", case insensitive. +Book search +^^^^^^^^^^^ + +Usage:: + + ml-search.py [-i] [-I] [-t ...] books [-t title] [-s series] [-a archive] [-f file] [-d] + +Search and print a list of books by title, series, archive or file name. + +Options:: + + -t, --title title Search by title + -s, --series series Search by series + -a, --archive archive Search by archive (zip file) + -f, --file file Search by file name (without extension) + -d, --details Output more details about books; + repeat for even more details + +By default the program prints only titles of the found book. With one +option `-d` it also prints the list of authors. + Extension search ^^^^^^^^^^^^^^^^ Usage:: - ml-search.py [-i] [-I] [-t ...] ext name + ml-search.py [-i] [-I] [-t ...] ext [name] Search and print a list of extensions by name. @@ -114,4 +135,13 @@ Options:: -n, --name name Search by name -t, --title title Search by title +Language search +^^^^^^^^^^^^^^^ + +Usage:: + + ml-search.py [-i] [-I] [-t ...] lang [name] + +Search and print a list of languages by name. + .. vim: set tw=72 :