diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-25 19:36:12 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-25 19:36:12 +0100 |
commit | dd8c3e71a61dad9a609117eb98ed12993feda9a7 (patch) | |
tree | 0df9d01266b6e3109d0f54b5c0662113a155d9b3 /src/auditor/taler-helper-auditor-wire.c | |
parent | 4013b2900fb07a22113540c9ff385b7f0e5c0c7e (diff) | |
download | exchange-dd8c3e71a61dad9a609117eb98ed12993feda9a7.tar.xz |
remove -m option, add -t option to all auditor helpers
Diffstat (limited to 'src/auditor/taler-helper-auditor-wire.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-wire.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index fd920e87e..d48ac1f18 100644 --- a/src/auditor/taler-helper-auditor-wire.c +++ b/src/auditor/taler-helper-auditor-wire.c @@ -52,6 +52,14 @@ 15) +/** + * 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; + struct TALER_AUDITORDB_WireAccountProgressPoint { uint64_t last_reserve_in_serial_id; @@ -2894,11 +2902,10 @@ main (int argc, "ignore-not-found", "continue, even if the bank account of the exchange was not found", &ignore_account_404), - 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 |