From 3f059c638ae6223a253b6c2973cd860d1654382f Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Sat, 9 Jul 2016 01:28:51 +0200 Subject: [PATCH] --help: move -V option up Signed-off-by: Nicolas Sebrecht --- offlineimap/init.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/offlineimap/init.py b/offlineimap/init.py index c2a9d84..360afa7 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -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)