[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: argument help
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: argument help |
Date: |
Wed, 22 Jul 2020 15:46:30 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new a391419 argument help
a391419 is described below
commit a391419bea69ad05c732f1a6307f3097e4b732f7
Author: MS <ms@taler.net>
AuthorDate: Wed Jul 22 15:46:27 2020 +0200
argument help
---
bin/.taler-merchant-demos.swp | Bin 20480 -> 16384 bytes
bin/taler-merchant-demos | 5 ++++-
2 files changed, 4 insertions(+), 1 deletion(-)
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"))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-merchant-demos] branch master updated: argument help,
gnunet <=