Cleanup formatting of fts_index usage string

This commit is contained in:
Kovid Goyal 2022-08-08 13:46:47 +05:30
parent 872c7ea159
commit 2f43e24721
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -61,16 +61,20 @@ def option_parser(get_parser, args):
Control the Full text search indexing process.
{enable} - Turns on FTS indexing for this library
{disable} - Turns off FTS indexing for this library
{status} - Shows the current indexing status
{reindex} - Can be used to re-index either particular books or
the entire library. To re-index particular books
specify the book ids as additional arguments after the
{reindex} command. If no book ids are specified the
entire library is re-indexed.
'''.format(enable='enable', disable='disable', status='status', reindex='reindex')
))
{enable}
Turns on FTS indexing for this library
{disable}
Turns off FTS indexing for this library
{status}
Shows the current indexing status
{reindex}
Can be used to re-index either particular books or
the entire library. To re-index particular books
specify the book ids as additional arguments after the
{reindex} command. If no book ids are specified the
entire library is re-indexed.
''').format(enable='enable', disable='disable', status='status', reindex='reindex')
)
parser.add_option(
'--wait-for-completion',
default=False,