mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 10:07:08 +01:00
Remove the need for -- when calling calibre-debug --diff
This commit is contained in:
parent
ba30d4d2fe
commit
cd32ca094a
1 changed files with 2 additions and 2 deletions
|
|
@ -79,9 +79,9 @@ def option_parser():
|
|||
'Run a plugin that provides a command line interface. For example:\n'
|
||||
'calibre-debug -r "Add Books" -- file1 --option1\n'
|
||||
'Everything after the -- will be passed to the plugin as arguments.'))
|
||||
parser.add_option('--diff', help=_(
|
||||
parser.add_option('--diff', action='store_true', default=False, help=_(
|
||||
'Run the calibre diff tool. For example:\n'
|
||||
'calibre-debug --diff -- file1 file2'))
|
||||
'calibre-debug --diff file1 file2'))
|
||||
|
||||
return parser
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue