mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c8f2a40bbd
commit
bca48b4f2d
@ -97,7 +97,7 @@ def generate_calibredb_help(preamble, app):
|
||||
parser = getattr(cli, cmd+'_option_parser')(*args)
|
||||
if cmd == 'catalog':
|
||||
parser = parser[0]
|
||||
lines += ['.. _calibredb-'+cmd+':', '']
|
||||
lines += ['.. _calibredb-%s-%s:' % (app.config.language, cmd), '']
|
||||
lines += [cmd, '~'*20, '']
|
||||
usage = parser.usage.strip()
|
||||
usage = [i for i in usage.replace('%prog', 'calibredb').splitlines()]
|
||||
|
@ -181,7 +181,7 @@ List the books available in the calibre database.
|
||||
' special field "all" can be used to select all fields.'
|
||||
)%', '.join(sorted(fields)))
|
||||
parser.add_option('--sort-by', default=None,
|
||||
help=_('The field by which to sort the results.\nAvailable fields: %s\nDefault: %%default')%','.join(sorted(FIELDS)))
|
||||
help=_('The field by which to sort the results.\nAvailable fields: %s\nDefault: %%default')%', '.join(sorted(FIELDS)))
|
||||
parser.add_option('--ascending', default=False, action='store_true',
|
||||
help=_('Sort results in ascending order'))
|
||||
parser.add_option('-s', '--search', default=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user