summaryrefslogtreecommitdiff
path: root/src/set/gnunet-set-profiler.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/set/gnunet-set-profiler.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/set/gnunet-set-profiler.c')
-rw-r--r--src/set/gnunet-set-profiler.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/set/gnunet-set-profiler.c b/src/set/gnunet-set-profiler.c
index 349bce6ea..68f7be690 100644
--- a/src/set/gnunet-set-profiler.c
+++ b/src/set/gnunet-set-profiler.c
@@ -427,54 +427,54 @@ int
main (int argc, char **argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_UINT ('A',
+ GNUNET_GETOPT_option_uint ('A',
"num-first",
NULL,
gettext_noop ("number of values"),
&num_a),
- GNUNET_GETOPT_OPTION_SET_UINT ('B',
+ GNUNET_GETOPT_option_uint ('B',
"num-second",
NULL,
gettext_noop ("number of values"),
&num_b),
- GNUNET_GETOPT_OPTION_SET_ONE ('b',
+ GNUNET_GETOPT_option_flag ('b',
"byzantine",
gettext_noop ("use byzantine mode"),
&byzantine),
- GNUNET_GETOPT_OPTION_SET_UINT ('f',
+ GNUNET_GETOPT_option_uint ('f',
"force-full",
NULL,
gettext_noop ("force sending full set"),
&force_full),
- GNUNET_GETOPT_OPTION_SET_UINT ('d',
+ GNUNET_GETOPT_option_uint ('d',
"force-delta",
NULL,
gettext_noop ("number delta operation"),
&force_delta),
- GNUNET_GETOPT_OPTION_SET_UINT ('C',
+ GNUNET_GETOPT_option_uint ('C',
"num-common",
NULL,
gettext_noop ("number of values"),
&num_c),
- GNUNET_GETOPT_OPTION_STRING ('x',
+ GNUNET_GETOPT_option_string ('x',
"operation",
NULL,
gettext_noop ("operation to execute"),
&op_str),
- GNUNET_GETOPT_OPTION_SET_UINT ('w',
+ GNUNET_GETOPT_option_uint ('w',
"element-size",
NULL,
gettext_noop ("element size"),
&element_size),
- GNUNET_GETOPT_OPTION_FILENAME ('s',
+ GNUNET_GETOPT_option_filename ('s',
"statistics",
"FILENAME",
gettext_noop ("write statistics to file"),