diff options
author | MS <ms@taler.net> | 2020-07-22 15:46:27 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-22 15:46:27 +0200 |
commit | a391419bea69ad05c732f1a6307f3097e4b732f7 (patch) | |
tree | 2158b2072ce355e9d880363529619178e26687f8 /bin/taler-merchant-demos | |
parent | 4c9812bd177fd7133b5ae8dc1d1f6807985dcd7a (diff) | |
download | taler-merchant-demos-a391419bea69ad05c732f1a6307f3097e4b732f7.tar.gz taler-merchant-demos-a391419bea69ad05c732f1a6307f3097e4b732f7.tar.bz2 taler-merchant-demos-a391419bea69ad05c732f1a6307f3097e4b732f7.zip |
argument help
Diffstat (limited to 'bin/taler-merchant-demos')
-rwxr-xr-x | bin/taler-merchant-demos | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos index 8f8df21..de847af 100755 --- a/bin/taler-merchant-demos +++ b/bin/taler-merchant-demos @@ -77,13 +77,16 @@ def handle_serve_http(config, whichShop, port=None): "--http", spec, "--module", "talermerchantdemos.{}:app".format(whichShop)) -@click.command() +@click.command("Global shop launcher") @click.option("--config", help="Configuration file", required=False) @click.option("--serve-http", help="Serve via HTTP", is_flag=True, required=False) @click.option("--port", help="HTTP port to serve (if not given, it's picked from config)", required=False, type=int) @click.option("--serve-uwsgi", help="Serve via UWSGI (default)", required=False) @click.argument("whichShop") def demos(config, serve_http, port, serve_uwsgi, whichShop): + """ + WHICHSHOP is one of: blog, donations, or survey. + """ if config: os.environ["TALER_CONFIG_FILE"] = config config_obj = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE")) |