docker-offlineimap/offlineimap
Sebastian Spaeth 85e8aea94f Convert to use OptionParser for command line handling.
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>
2010-12-15 20:02:27 +01:00
..
folder Change X-OfflineIMAP header format 2010-12-09 19:52:48 +01:00
repository Bugfix patch for offlineimap 2010-08-20 08:29:47 -05:00
ui Improve TTY ui to not always prepend 'sync account foo' 2010-12-09 19:52:48 +01:00
__init__.py Make a main class OfflineImap that is being called 2010-12-09 19:52:48 +01:00
accounts.py Prettify message formatting 2010-12-09 19:52:48 +01:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplibutil.py Fix ssl socket wrap deprecation warning. 2009-08-24 00:01:54 -05:00
imapserver.py Bugfix patch for offlineimap 2010-08-20 08:29:47 -05:00
imaputil.py imaputil.py: factorize the flag map 2010-12-09 19:52:48 +01:00
init.py Convert to use OptionParser for command line handling. 2010-12-15 20:02:27 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py remove unneeded includes from syncmaster.py 2010-12-09 19:52:48 +01:00
threadutil.py Import cProfile module before falling back to profile 2010-12-09 19:52:48 +01:00
version.py Convert to use OptionParser for command line handling. 2010-12-15 20:02:27 +01:00