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()]
|
||||
|
Loading…
x
Reference in New Issue
Block a user