Fix warning from sphinx for doc comment

This commit is contained in:
Kovid Goyal 2018-05-25 20:08:05 +05:30
parent 04a8fac1a5
commit f4a3df8523
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -476,15 +476,12 @@ class CatalogPlugin(Plugin): # {{{
type = _('Catalog generator')
#: CLI parser options specific to this plugin, declared as namedtuple Option::
#: CLI parser options specific to this plugin, declared as namedtuple Option:
#:
#: from collections import namedtuple
#: Option = namedtuple('Option', 'option, default, dest, help')
#: cli_options = [Option('--catalog-title',
#: default = 'My Catalog',
#: dest = 'catalog_title',
#: help = (_('Title of generated catalog. \nDefault:') + " '" +
#: '%default' + "'"))]
#: cli_options = [Option('--catalog-title', default = 'My Catalog',
#: dest = 'catalog_title', help = (_('Title of generated catalog. \nDefault:') + " '" + '%default' + "'"))]
#: cli_options parsed in calibre.db.cli.cmd_catalog:option_parser()
#:
cli_options = []