Add some usage examples

This commit is contained in:
Kovid Goyal 2022-09-19 13:01:01 +05:30
parent 34963d50e4
commit 3fa877d5bb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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' ' be asked for the export folder and the libraries to export. You can also specify them'
' as command line arguments to skip the questions.' ' as command line arguments to skip the questions.'
' Use absolute paths for the export folder and libraries.' ' 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', parser.add_option('--import-calibre-data', default=False, action='store_true',
help=_('Import previously exported calibre data')) help=_('Import previously exported calibre data'))
parser.add_option('-s', '--shutdown-running-calibre', default=False, parser.add_option('-s', '--shutdown-running-calibre', default=False,