diff --git a/src/calibre/ebooks/pdf/manipulate.py b/src/calibre/ebooks/pdf/manipulate.py index 0e75734bb9..15c9404e25 100644 --- a/src/calibre/ebooks/pdf/manipulate.py +++ b/src/calibre/ebooks/pdf/manipulate.py @@ -21,7 +21,7 @@ COMMANDS = { def config(defaults=None): desc = _('Options to control the transformation of pdf') if defaults is None: - c = Config('trimpdf', desc) + c = Config('manipulatepdf', desc) else: c = StringConfig(defaults, desc) return c diff --git a/src/calibre/ebooks/pdf/merge.py b/src/calibre/ebooks/pdf/merge.py index 7ae35d1065..c0385080ad 100644 --- a/src/calibre/ebooks/pdf/merge.py +++ b/src/calibre/ebooks/pdf/merge.py @@ -21,8 +21,6 @@ def config(defaults=None): c = Config('mergepdf', desc) else: c = StringConfig(defaults, desc) - c.add_opt('verbose', ['-v', '--verbose'], default=0, action='count', - help=_('Be verbose, useful for debugging. Can be specified multiple times for greater verbosity.')) c.add_opt('output', ['-o', '--output'], default='merged.pdf', help=_('Path to output file. By default a file is created in the current directory.')) return c diff --git a/src/calibre/ebooks/pdf/split.py b/src/calibre/ebooks/pdf/split.py index 36517fb704..cc6965dd68 100644 --- a/src/calibre/ebooks/pdf/split.py +++ b/src/calibre/ebooks/pdf/split.py @@ -21,8 +21,6 @@ def config(defaults=None): c = Config('splitpdf', desc) else: c = StringConfig(defaults, desc) - c.add_opt('verbose', ['-v', '--verbose'], default=0, action='count', - help=_('Be verbose, useful for debugging. Can be specified multiple times for greater verbosity.')) c.add_opt('output', ['-o', '--output'], default='split.pdf', help=_('Path to output file. By default a file is created in the current directory. \ The file name will be the base name for the output.')) diff --git a/src/calibre/ebooks/pdf/trim.py b/src/calibre/ebooks/pdf/trim.py index c999d24a46..b32312fee8 100644 --- a/src/calibre/ebooks/pdf/trim.py +++ b/src/calibre/ebooks/pdf/trim.py @@ -16,8 +16,6 @@ def config(defaults=None): c = Config('trimpdf', desc) else: c = StringConfig(defaults, desc) - c.add_opt('verbose', ['-v', '--verbose'], default=0, action='count', - help=_('Be verbose, useful for debugging. Can be specified multiple times for greater verbosity.')) c.add_opt('output', ['-o', '--output'],default='cropped.pdf', help=_('Path to output file. By default a file is created in the current directory.')) c.add_opt('bottom_left_x', [ '-x', '--leftx'], default=default_crop,