]> git.phdru.name Git - m_librarian.git/blobdiff - docs/command_line.rst
Use option -d to output database id
[m_librarian.git] / docs / command_line.rst
index 3db70140dc47ea36bfd2ef9c6d78156c7b38e3a4..0fab06b7cac295396fc2594540b4e8be3d516144 100644 (file)
@@ -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 :