From 2f43e24721e29f09f3273aa6305e66298a00d4a9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 8 Aug 2022 13:46:47 +0530 Subject: [PATCH] Cleanup formatting of fts_index usage string --- src/calibre/db/cli/cmd_fts_index.py | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/calibre/db/cli/cmd_fts_index.py b/src/calibre/db/cli/cmd_fts_index.py index 97b7d085fe..baabbd8c10 100644 --- a/src/calibre/db/cli/cmd_fts_index.py +++ b/src/calibre/db/cli/cmd_fts_index.py @@ -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,