summaryrefslogtreecommitdiff
path: root/bin/taler-merchant-demos
diff options
context:
space:
mode:
Diffstat (limited to 'bin/taler-merchant-demos')
-rwxr-xr-xbin/taler-merchant-demos5
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"))