[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] 04/04: re-apply Marcello's patch
From: |
gnunet |
Subject: |
[taler-bank] 04/04: re-apply Marcello's patch |
Date: |
Mon, 09 Nov 2020 16:43:38 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
commit 541cafc1d03e27b9378685694c058bfd3d50c34e
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Nov 9 16:41:50 2020 +0100
re-apply Marcello's patch
---
talerbank/cli.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/talerbank/cli.py b/talerbank/cli.py
index 43d6a3c..549c1ac 100644
--- a/talerbank/cli.py
+++ b/talerbank/cli.py
@@ -47,7 +47,7 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"talerbank.settings")
help="Set HTTP as the serving protocol (taking precedence over the
config.), and set the port.",
type=int
)
-@click.option("--config", help="Path to the config file.")
+@click.option("-c", "--config", help="Path to the config file.")
@click.option("--with-db", help="Database connection string.")
def cli(ctx, http_port, config, with_db):
if with_db:
@@ -74,7 +74,8 @@ def serve(obj):
@cli.command(
help="Invoke 'django' sub-commands",
- context_settings=dict(ignore_unknown_options=True)
+ context_settings=dict(ignore_unknown_options=True),
+ name="django",
)
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
def handle_django(args):
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.