Merge branch 'ss/print-only-version-number-for-this-option' into next

This commit is contained in:
Nicolas Sebrecht 2011-01-27 19:40:45 +01:00
commit c84d6ea9c6
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ New Features
Changes
-------
* have --version ONLY print the version number
Bug Fixes
---------

View File

@ -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__))