From f3e7a4a5cd21fcc57b5e3b3c7f91bcd1566229c2 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 14 Mar 2014 16:55:34 +0100 Subject: [PATCH] Show help when running vdirsyncer See #12 --- vdirsyncer/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vdirsyncer/cli.py b/vdirsyncer/cli.py index b1b557a..68a451b 100644 --- a/vdirsyncer/cli.py +++ b/vdirsyncer/cli.py @@ -134,8 +134,7 @@ def _main(env, file_cfg): @app.main() def app_main(context): - print("Hello.") - sys.exit(1) + app.options['--help'].function(context) @app.option('--verbose|-v') def verbose_option(context=None):