--help: move -V option up
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
709a5b3f91
commit
3f059c638a
@ -88,6 +88,12 @@ class OfflineImap(object):
|
||||
description="%s.\n\n%s"% (offlineimap.__copyright__,
|
||||
offlineimap.__license__)
|
||||
)
|
||||
|
||||
parser.add_option("-V",
|
||||
action="store_true", dest="version",
|
||||
default=False,
|
||||
help="show full version infos")
|
||||
|
||||
parser.add_option("--dry-run",
|
||||
action="store_true", dest="dryrun",
|
||||
default=False,
|
||||
@ -163,11 +169,6 @@ class OfflineImap(object):
|
||||
action="store_true", dest="mbnames_prune", default=False,
|
||||
help="remove mbnames entries for accounts not in accounts")
|
||||
|
||||
parser.add_option("-V",
|
||||
action="store_true", dest="version",
|
||||
default=False,
|
||||
help="show full version infos")
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
globals.set_options (options)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user