summaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-testbed-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/testbed/gnunet-testbed-profiler.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r--src/testbed/gnunet-testbed-profiler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index 29f77193d..9829bbf0d 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -278,19 +278,19 @@ main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_UINT ('p',
+ GNUNET_GETOPT_option_uint ('p',
"num-peers",
"COUNT",
gettext_noop ("create COUNT number of peers"),
&num_peers),
- GNUNET_GETOPT_OPTION_SET_UINT ('e',
+ GNUNET_GETOPT_option_uint ('e',
"num-errors",
"COUNT",
gettext_noop ("tolerate COUNT number of continious timeout failures"),
&num_cont_fails),
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"non-interactive",
gettext_noop ("run profiler in non-interactive mode where upon "
"testbed setup the profiler does not wait for a "
@@ -299,7 +299,7 @@ main (int argc, char *const *argv)
&noninteractive),
#if !ENABLE_SUPERMUC
- GNUNET_GETOPT_OPTION_STRING ('H',
+ GNUNET_GETOPT_option_string ('H',
"hosts",
"FILENAME",
gettext_noop ("name of the file with the login information for the testbed"),