This commit is contained in:
Kovid Goyal 2014-10-17 08:08:34 +05:30
parent c8f2a40bbd
commit bca48b4f2d
2 changed files with 2 additions and 2 deletions

View File

@ -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()]