summaryrefslogtreecommitdiff
path: root/src/ats/perf_ats_solver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/ats/perf_ats_solver.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r--src/ats/perf_ats_solver.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c
index 855899b36..7fae3624f 100644
--- a/src/ats/perf_ats_solver.c
+++ b/src/ats/perf_ats_solver.c
@@ -1405,37 +1405,37 @@ main (int argc, char *argv[])
static struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_UINT ('a',
+ GNUNET_GETOPT_option_uint ('a',
"addresses",
gettext_noop ("addresses to use"),
&ph.N_address),
- GNUNET_GETOPT_OPTION_SET_UINT ('s',
+ GNUNET_GETOPT_option_uint ('s',
"start",
gettext_noop ("start with peer"),
&ph.N_peers_start),
- GNUNET_GETOPT_OPTION_SET_UINT ('e',
+ GNUNET_GETOPT_option_uint ('e',
"end",
gettext_noop ("end with peer"),
&ph.N_peers_end),
- GNUNET_GETOPT_OPTION_SET_UINT ('i',
+ GNUNET_GETOPT_option_uint ('i',
"iterations",
gettext_noop ("number of iterations used for averaging (default: 1)"),
&ph.total_iterations),
- GNUNET_GETOPT_OPTION_SET_UINT ('p',
+ GNUNET_GETOPT_option_uint ('p',
"percentage",
gettext_noop ("update a fix percentage of addresses"),
&ph.opt_update_percent),
- GNUNET_GETOPT_OPTION_SET_ONE ('d',
+ GNUNET_GETOPT_option_flag ('d',
"data",
gettext_noop ("create data file"),
&ph.create_datafile),
- GNUNET_GETOPT_OPTION_SET_ONE ('u',
+ GNUNET_GETOPT_option_flag ('u',
"update",
gettext_noop ("measure updates"),
&ph.measure_updates),