summaryrefslogtreecommitdiff
path: root/src/consensus/gnunet-consensus-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/consensus/gnunet-consensus-profiler.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/consensus/gnunet-consensus-profiler.c')
-rw-r--r--src/consensus/gnunet-consensus-profiler.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/consensus/gnunet-consensus-profiler.c b/src/consensus/gnunet-consensus-profiler.c
index 8cc1b3512..68c2ad594 100644
--- a/src/consensus/gnunet-consensus-profiler.c
+++ b/src/consensus/gnunet-consensus-profiler.c
@@ -517,49 +517,49 @@ main (int argc, char **argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_UINT ('n',
+ GNUNET_GETOPT_option_uint ('n',
"num-peers",
NULL,
gettext_noop ("number of peers in consensus"),
&num_peers),
- GNUNET_GETOPT_OPTION_SET_UINT ('k',
+ GNUNET_GETOPT_option_uint ('k',
"value-replication",
NULL,
gettext_noop ("how many peers (random selection without replacement) receive one value?"),
&replication),
- GNUNET_GETOPT_OPTION_SET_UINT ('x',
+ GNUNET_GETOPT_option_uint ('x',
"num-values",
NULL,
gettext_noop ("number of values"),
&num_values),
- GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t',
+ GNUNET_GETOPT_option_relative_time ('t',
"timeout",
NULL,
gettext_noop ("consensus timeout"),
&conclude_timeout),
- GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('d',
+ GNUNET_GETOPT_option_relative_time ('d',
"delay",
NULL,
gettext_noop ("delay until consensus starts"),
&consensus_delay),
- GNUNET_GETOPT_OPTION_FILENAME ('s',
+ GNUNET_GETOPT_option_filename ('s',
"statistics",
"FILENAME",
gettext_noop ("write statistics to file"),
&statistics_filename),
- GNUNET_GETOPT_OPTION_SET_ONE ('S',
+ GNUNET_GETOPT_option_flag ('S',
"dist-static",
gettext_noop ("distribute elements to a static subset of good peers"),
&dist_static),
- GNUNET_GETOPT_OPTION_SET_ONE ('V',
+ GNUNET_GETOPT_option_flag ('V',
"verbose",
gettext_noop ("be more verbose (print received values)"),
&verbose),