X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Fcommand_line.rst;h=e33992ae129baaa8f4e0714514e4c8126ce7d3bc;hb=7eab2ab93e2bdc2897dd5f41b474abd64bd8df01;hp=6aec9f83c545250952de87ee0e5c24fa7c96f562;hpb=e70acf8e852b2cd075aac1ecfd864e0c8475a689;p=m_librarian.git diff --git a/docs/command_line.rst b/docs/command_line.rst index 6aec9f8..e33992a 100644 --- a/docs/command_line.rst +++ b/docs/command_line.rst @@ -44,9 +44,9 @@ Global options:: (this is the default) -s, --substring search type: substring anywhere -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 + -v, --verbose Output more details about found objects; + repeat for even more details 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 @@ -71,7 +71,7 @@ Author search Usage:: - ml-search.py [-i/-I] [-t/-s/-f] author [-s surname] [-n name] [-m misc-name] [fullname] + ml-search.py [-i/-I] [-t/-s/-f] author [-s surname] [-n name] [-m misc-name] [--id id] [fullname] Search and print a list of authors by surname/name/misc name/full name. @@ -80,6 +80,7 @@ Options:: -s, --surname surname Search by surname -n, --name name Search by name -m, --misc-name misc. name Search by misc. name + --id id Search by database id Example:: @@ -142,7 +143,11 @@ Extension search Usage:: - ml-search.py [-i/-I] [-t/-s/-f] ext [name] + ml-search.py [-i/-I] [-t/-s/-f] ext [name] [--id id] + +Options:: + + --id id Search by database id Search and print a list of extensions by name. @@ -154,7 +159,7 @@ Genres search Usage:: - ml-search.py [-i/-I] [-t/-s/-f] genres [-n name] [-t title] + ml-search.py [-i/-I] [-t/-s/-f] genres [-n name] [-t title] [--id id] Search and print a list of genres by name and title. @@ -162,6 +167,7 @@ Options:: -n, --name name Search by name -t, --title title Search by title + --id id Search by database id With one option `-d` it also prints database id. @@ -171,10 +177,14 @@ Language search Usage:: - ml-search.py [-i/-I] [-t/-s/-f] lang [name] + ml-search.py [-i/-I] [-t/-s/-f] lang [name] [--id id] Search and print a list of languages by name. +Options:: + + --id id Search by database id + With one option `-d` it also prints database id. .. vim: set tw=72 :