85e8aea94f
Move the command line option handling from the more manual "getopts" module to the full fledged "OptionParser". It has the advantage of e.g. automatically creating the Help text that is shown with the "-h/--help" option rather than having to hardcode the text and format the line breaking manually. Also, do away with the version check when invoking OfflineImap so we do not have to change the version number in three places when bumping it. Rename startup() to run() which sounds more in line what other modules call their run functions (e.g. Thread.run()). Signed-Off-By: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
__init__.py | ||
accounts.py | ||
CustomConfig.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
syncmaster.py | ||
threadutil.py | ||
version.py |