mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove the need for -- when calling calibre-debug --diff
This commit is contained in:
parent
ba30d4d2fe
commit
cd32ca094a
@ -79,9 +79,9 @@ Everything after the -- is passed to the script.
|
|||||||
'Run a plugin that provides a command line interface. For example:\n'
|
'Run a plugin that provides a command line interface. For example:\n'
|
||||||
'calibre-debug -r "Add Books" -- file1 --option1\n'
|
'calibre-debug -r "Add Books" -- file1 --option1\n'
|
||||||
'Everything after the -- will be passed to the plugin as arguments.'))
|
'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'
|
'Run the calibre diff tool. For example:\n'
|
||||||
'calibre-debug --diff -- file1 file2'))
|
'calibre-debug --diff file1 file2'))
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user