summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/taler-bank-manage5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/taler-bank-manage b/bin/taler-bank-manage
index ace3b84..e1814c4 100755
--- a/bin/taler-bank-manage
+++ b/bin/taler-bank-manage
@@ -50,7 +50,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:
@@ -77,7 +77,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):