aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-11 13:35:40 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-11 13:35:40 +0100
commite38f321793df7682eeb623f1948e20739a953c42 (patch)
tree07066e3fc1f1929f4586f0c16e9d12e6b1e6f311
parent5ea311f9f6b480da37e8e337bb5a0799d011f486 (diff)
-implement --help for taler-bank-manage-testing
-rwxr-xr-xcontrib/taler-bank-manage-testing10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/taler-bank-manage-testing b/contrib/taler-bank-manage-testing
index f73c39a1b..06ff32f0c 100755
--- a/contrib/taler-bank-manage-testing
+++ b/contrib/taler-bank-manage-testing
@@ -1,9 +1,9 @@
#!/bin/sh
# This file is in the public domain
-# Wrapper around 'taler-bank-manage' to first configure the required
+# Wrapper around libeufin to first configure the required
# testing accounts before launching the bank properly.
#
-# Takes 3 arguments:
+# Takes 4 arguments:
# $1: the Nexus port (Sandbox port prepends 1 to it)
# $2: the database name
# $3: exchange base URL (used to specify the default exchange)
@@ -11,6 +11,12 @@
set -eu
+if [ "$1" -eq "--help ];
+then
+ echo "This is a tool to launch a libeufin based bank for testing."
+ echo "Call using: Nexus port number, SQLite file path, exchange base URL, config file path."
+ exit 0
+fi
if [ "$#" -ne 4 ];
then
echo "illegal number of parameters. \