merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit bab278d325b637a0cc728479196e39f118938619
parent 85631184d67f22c350f3b84c3cacfa762f98d264
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 18 Nov 2025 19:20:12 +0100

warn if taler-merchant-passwd is used incorrectly

Diffstat:
Msrc/merchant-tools/taler-merchant-passwd.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/merchant-tools/taler-merchant-passwd.c b/src/merchant-tools/taler-merchant-passwd.c @@ -56,6 +56,13 @@ run (void *cls, struct TALER_MERCHANTDB_InstanceAuthSettings ias; enum GNUNET_DB_QueryStatus qs; + if (NULL != args[1]) + { + fprintf (stderr, + "Superfluous command-line option `%s' specified\n"); + global_ret = -1; + return; + } if (NULL == pw) pw = getenv ("TALER_MERCHANT_PASSWORD"); if (NULL == pw)