mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 21:33:48 +02:00
Make the usage msg for calibredb saved_searches a little nicer
This commit is contained in:
parent
bf97a7de04
commit
fb3290d917
1 changed files with 9 additions and 3 deletions
|
|
@ -1141,13 +1141,19 @@ def command_remove_custom_column(args, dbpath):
|
|||
def saved_searches_option_parser():
|
||||
parser = get_parser(_(
|
||||
'''
|
||||
%prog saved_searches [options] list
|
||||
%prog saved_searches add name search
|
||||
%prog saved_searches remove name
|
||||
%prog saved_searches [options] (list|add|remove)
|
||||
|
||||
Manage the saved searches stored in this database.
|
||||
If you try to add a query with a name that already exists, it will be
|
||||
replaced.
|
||||
|
||||
Syntax for adding:
|
||||
|
||||
%prog saved_searches add search_name search_expression
|
||||
|
||||
Syntax for removing:
|
||||
|
||||
%prog saved_searches remove search_name
|
||||
'''))
|
||||
return parser
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue