From 3fa877d5bbc4f94850ca0b8330b8edaf905f6a88 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 19 Sep 2022 13:01:01 +0530 Subject: [PATCH] Add some usage examples --- src/calibre/debug.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/calibre/debug.py b/src/calibre/debug.py index bcce19e160..1a830d4a3e 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -89,7 +89,11 @@ as a shebang in scripts, like this: ' be asked for the export folder and the libraries to export. You can also specify them' ' as command line arguments to skip the questions.' ' Use absolute paths for the export folder and libraries.' - ' The special keyword "all" can be used to export all libraries.')) + ' The special keyword "all" can be used to export all libraries. Examples:\n\n' + ' calibre-debug --export-all-calibre-data # for interactive use\n' + ' calibre-debug --export-all-calibre-data /path/to/empty/export/folder /path/to/library/folder1 /path/to/library2\n' + ' calibre-debug --export-all-calibre-data /export/folder all # export all known libraries' + )) parser.add_option('--import-calibre-data', default=False, action='store_true', help=_('Import previously exported calibre data')) parser.add_option('-s', '--shutdown-running-calibre', default=False,