From a391419bea69ad05c732f1a6307f3097e4b732f7 Mon Sep 17 00:00:00 2001 From: MS Date: Wed, 22 Jul 2020 15:46:27 +0200 Subject: argument help --- bin/.taler-merchant-demos.swp | Bin 20480 -> 16384 bytes bin/taler-merchant-demos | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/.taler-merchant-demos.swp b/bin/.taler-merchant-demos.swp index ec5e758..8e0faa9 100644 Binary files a/bin/.taler-merchant-demos.swp and b/bin/.taler-merchant-demos.swp differ 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")) -- cgit v1.2.3