diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-21 15:15:30 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-21 15:15:30 +0200 |
commit | ff96695e47388e89c11966a65e27044a141692e8 (patch) | |
tree | 1eb06eace14e3dfbb0816a14de31bd080032c2a4 /src/benchmark | |
parent | 281c5e3879f4ff1730f34ea40d5f80342cfffb2c (diff) |
benchmark: don't crash on --help
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index c49255460..29c3fd760 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -849,13 +849,12 @@ main (int argc, unsetenv ("XDG_DATA_HOME"); unsetenv ("XDG_CONFIG_HOME"); - if (GNUNET_SYSERR == + if (0 >= (result = GNUNET_GETOPT_run ("taler-exchange-benchmark", options, argc, argv))) { - TALER_LOG_ERROR ("Unparsable CLI options\n"); return BAD_CLI_ARG; } GNUNET_log_setup ("taler-exchange-benchmark", |