summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:22:22 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 23:39:30 +0100
commit8d9dc14227350eb93f89c56c774ed377b633bc88 (patch)
treec6b19ab382cf8da58ea6d5c1cd9dcc8287ef63f9 /src/benchmark
parent293cd7a804f9804f4c0d4c1131a2acb32818e30f (diff)
downloadexchange-8d9dc14227350eb93f89c56c774ed377b633bc88.tar.gz
exchange-8d9dc14227350eb93f89c56c774ed377b633bc88.tar.bz2
exchange-8d9dc14227350eb93f89c56c774ed377b633bc88.zip
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 39236c648..d853b5802 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -1562,34 +1562,34 @@ main (int argc,
struct GNUNET_OS_Process *proc;
unsigned int cnt;
const struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('a',
+ GNUNET_GETOPT_option_flag ('a',
"automate",
"Initialize and start the bank and exchange",
&run_exchange),
- GNUNET_GETOPT_OPTION_MANDATORY
- (GNUNET_GETOPT_OPTION_CFG_FILE (&config_file)),
- GNUNET_GETOPT_OPTION_STRING ('e',
+ GNUNET_GETOPT_option_mandatory
+ (GNUNET_GETOPT_option_cfgfile (&config_file)),
+ GNUNET_GETOPT_option_string ('e',
"exchange-uri",
"URI",
"URI of the exchange",
&exchange_uri),
- GNUNET_GETOPT_OPTION_STRING ('E',
+ GNUNET_GETOPT_option_string ('E',
"exchange-admin-uri",
"URI",
"URI of the administrative interface of the exchange",
&exchange_admin_uri),
- GNUNET_GETOPT_OPTION_HELP ("tool to benchmark the Taler exchange"),
- GNUNET_GETOPT_OPTION_SET_UINT ('s',
+ GNUNET_GETOPT_option_help ("tool to benchmark the Taler exchange"),
+ GNUNET_GETOPT_option_uint ('s',
"pool-size",
"SIZE",
"How many coins this benchmark should instantiate",
&pool_size),
- GNUNET_GETOPT_OPTION_SET_UINT ('l',
+ GNUNET_GETOPT_option_uint ('l',
"limit",
"LIMIT",
"Terminate the benchmark after LIMIT operations",
&num_iterations),
- GNUNET_GETOPT_OPTION_VERBOSE (&be_verbose),
+ GNUNET_GETOPT_option_verbose (&be_verbose),
GNUNET_GETOPT_OPTION_END
};
int ret;