X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Fcommand_line.rst;h=0fab06b7cac295396fc2594540b4e8be3d516144;hb=fc42dcaa2908ea3d5f7e1db5d4a777bbac9a05b4;hp=3db70140dc47ea36bfd2ef9c6d78156c7b38e3a4;hpb=c23c4900f586fe7783ce370697209d6d4b1a6905;p=m_librarian.git diff --git a/docs/command_line.rst b/docs/command_line.rst index 3db7014..0fab06b 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -92,9 +92,11 @@ Example:: ml-search.py -i author -s duck -n mack -Search and print a list of authors whose surname starts with "duck", and +Search and print a list of authors whose surname starts with "duck" and name starts with "mack", case insensitive. +With one option `-d` it also prints database id. + Book search ^^^^^^^^^^^ @@ -121,12 +123,12 @@ Options:: -l, --lang lang Search by language By default the program prints only titles of the found book. With one -option `-d` it also prints the list of authors and genres, and also -series the book belongs to (if any) and the serial number of the book in -the series. With two options `-d` (`-d -d` or simply `-dd`) it also -prints the file date and language. With three `-d` it prints archive -name, file name, extension and size, and flag if the book is marked to -be deleted. +option `-d` it also prints database id, the list of authors and genres, +and also series the book belongs to (if any) and the serial number of +the book in the series. With two options `-d` (`-d -d` or simply `-dd`) +it also prints the file date and language. With three `-d` it prints +archive name, file name, extension and size, and flag if the book is +marked to be deleted. Extension search @@ -138,6 +140,8 @@ Usage:: Search and print a list of extensions by name. +With one option `-d` it also prints database id. + Genres search ^^^^^^^^^^^^^ @@ -153,6 +157,8 @@ Options:: -n, --name name Search by name -t, --title title Search by title +With one option `-d` it also prints database id. + Language search ^^^^^^^^^^^^^^^ @@ -163,4 +169,6 @@ Usage:: Search and print a list of languages by name. +With one option `-d` it also prints database id. + .. vim: set tw=72 :