X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Fcommand_line.rst;h=6aec9f83c545250952de87ee0e5c24fa7c96f562;hb=e70acf8e852b2cd075aac1ecfd864e0c8475a689;hp=0fab06b7cac295396fc2594540b4e8be3d516144;hpb=fc42dcaa2908ea3d5f7e1db5d4a777bbac9a05b4;p=m_librarian.git diff --git a/docs/command_line.rst b/docs/command_line.rst index 0fab06b..6aec9f8 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -31,7 +31,7 @@ ml-search.py Usage:: - ml-search.py [-i] [-I] [-t] [-s] [-f] [-d] ... + ml-search.py [-i] [-I] [-t] [-s] [-f] [-d] [-c] ... Search through the database and display results. Currently can only search authors by name. @@ -46,6 +46,7 @@ Global options:: -f, --full search type: match the full string -d, --details Output more details about found objects; repeat for even more details + -c, --count Output count of found objects Options ``-i/-I`` cannot be used together as they are the opposite. In case none of them are used the program guesses case-sensitivity by @@ -103,7 +104,7 @@ Book search Usage:: - ml-search.py [-i/-I] [-t/-s/-f] books [-t title] [-s series] [-a archive] [-f file] [--surname name] [--name name] [--misc-name name] [--fullname name] [-e ext] [--gname name] [--gtitle title] [-l lang] + ml-search.py [-i/-I] [-t/-s/-f] books [-t title] [-s series] [-a archive] [-f file] [--id id] [--surname name] [--name name] [--misc-name name] [--fullname name] [--aid aid] [-e ext] [--eid eid] [--gname name] [--gtitle title] [--gid gid] [-l lang] [--lid lid] Search and print a list of books by title, series, archive or file name. @@ -113,14 +114,19 @@ Options:: -s, --series series Search by series -a, --archive archive Search by archive (zip file) -f, --file file Search by file name (without extension) + --id id Search by database id --surname surname Search by author’s surname --name name Search by author’s name --misc-name misc. name Search by author’s misc. name --fullname name Search by author’s full name + --aid aid Search by author’s id -e, --ext ext Search by file extension + --eid eid Search by extension’s id --gname name Search by genre’s name --gtitle title Search by genre’s title + --gid gid Search by genre’s id -l, --lang lang Search by language + --lid lid Search by language’s id By default the program prints only titles of the found book. With one option `-d` it also prints database id, the list of authors and genres,