X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fcommand_line.rst;h=0e63d97acd8b1d72fd34510848b54ca9fcd15acf;hb=315ee1386d04a3ff44088b19d9ce1c1d79218111;hp=4b30eb624524d34c27c876c00c482c241074f25e;hpb=07794a8efe6512dd65b98c692d35a1a41ed5683e;p=m_librarian.git diff --git a/docs/command_line.rst b/docs/command_line.rst index 4b30eb6..0e63d97 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -91,6 +91,27 @@ 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 ^^^^^^^^^^^^^^^^