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)