From dd8c3e71a61dad9a609117eb98ed12993feda9a7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 Mar 2024 19:36:12 +0100 Subject: remove -m option, add -t option to all auditor helpers --- src/auditor/taler-helper-auditor-reserves.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/auditor/taler-helper-auditor-reserves.c') diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c index fc1827e99..aa35c6a75 100644 --- a/src/auditor/taler-helper-auditor-reserves.c +++ b/src/auditor/taler-helper-auditor-reserves.c @@ -38,6 +38,14 @@ */ static int global_ret; +/** + * Run in test mode. Exit when idle instead of + * going to sleep and waiting for more work. + * + * FIXME: not yet implemented! + */ +static int test_mode; + /** * After how long should idle reserves be closed? */ @@ -2071,11 +2079,10 @@ main (int argc, "internal", "perform checks only applicable for exchange-internal audits", &internal_checks), - GNUNET_GETOPT_option_base32_auto ('m', - "exchange-key", - "KEY", - "public key of the exchange (Crockford base32 encoded)", - &TALER_ARL_master_pub), + GNUNET_GETOPT_option_flag ('t', + "test", + "run in test mode and exit when idle", + &test_mode), GNUNET_GETOPT_option_timetravel ('T', "timetravel"), GNUNET_GETOPT_OPTION_END -- cgit v1.2.3