summaryrefslogtreecommitdiff
path: root/bin/taler-merchant-demos
diff options
context:
space:
mode:
Diffstat (limited to 'bin/taler-merchant-demos')
-rwxr-xr-xbin/taler-merchant-demos8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos
index de847af..b4ac156 100755
--- a/bin/taler-merchant-demos
+++ b/bin/taler-merchant-demos
@@ -82,8 +82,8 @@ def handle_serve_http(config, whichShop, port=None):
@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):
+@click.argument("which-shop")
+def demos(config, serve_http, port, serve_uwsgi, which_shop):
"""
WHICHSHOP is one of: blog, donations, or survey.
"""
@@ -91,8 +91,8 @@ def demos(config, serve_http, port, serve_uwsgi, whichShop):
os.environ["TALER_CONFIG_FILE"] = config
config_obj = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE"))
if serve_http: # port was given
- handle_serve_http(config_obj, whichShop, port)
+ handle_serve_http(config_obj, which_shop, port)
return
- handle_serve_uwsgi(config_obj, whichShop)
+ handle_serve_uwsgi(config_obj, which_shop)
demos()