diff --git a/Changelog.draft.rst b/Changelog.draft.rst index 8b599f9..1b68f5c 100644 --- a/Changelog.draft.rst +++ b/Changelog.draft.rst @@ -16,6 +16,8 @@ New Features Changes ------- +* have --version ONLY print the version number + Bug Fixes --------- diff --git a/offlineimap/init.py b/offlineimap/init.py index 309a757..186aa81 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -60,7 +60,7 @@ class OfflineImap: def run(self): """Parse the commandline and invoke everything""" - parser = OptionParser(version=offlineimap.banner, + parser = OptionParser(version=offlineimap.__version__, description="%s.\n\n%s" % (offlineimap.__copyright__, offlineimap.__license__))