aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
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
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
downloadgnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz
gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/generate-underlay-topology.c2
-rw-r--r--src/testbed/gnunet-testbed-profiler.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/testbed/generate-underlay-topology.c b/src/testbed/generate-underlay-topology.c
index ab7d81c8b..2e78c60be 100644
--- a/src/testbed/generate-underlay-topology.c
+++ b/src/testbed/generate-underlay-topology.c
@@ -336,7 +336,7 @@ main (int argc, char *const argv[])
336{ 336{
337 struct GNUNET_GETOPT_CommandLineOption option[] = { 337 struct GNUNET_GETOPT_CommandLineOption option[] = {
338 338
339 GNUNET_GETOPT_OPTION_SET_UINT ('p', 339 GNUNET_GETOPT_option_uint ('p',
340 "num-peers", 340 "num-peers",
341 "COUNT", 341 "COUNT",
342 gettext_noop ("create COUNT number of peers"), 342 gettext_noop ("create COUNT number of peers"),
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)
278{ 278{
279 struct GNUNET_GETOPT_CommandLineOption options[] = { 279 struct GNUNET_GETOPT_CommandLineOption options[] = {
280 280
281 GNUNET_GETOPT_OPTION_SET_UINT ('p', 281 GNUNET_GETOPT_option_uint ('p',
282 "num-peers", 282 "num-peers",
283 "COUNT", 283 "COUNT",
284 gettext_noop ("create COUNT number of peers"), 284 gettext_noop ("create COUNT number of peers"),
285 &num_peers), 285 &num_peers),
286 286
287 GNUNET_GETOPT_OPTION_SET_UINT ('e', 287 GNUNET_GETOPT_option_uint ('e',
288 "num-errors", 288 "num-errors",
289 "COUNT", 289 "COUNT",
290 gettext_noop ("tolerate COUNT number of continious timeout failures"), 290 gettext_noop ("tolerate COUNT number of continious timeout failures"),
291 &num_cont_fails), 291 &num_cont_fails),
292 292
293 GNUNET_GETOPT_OPTION_SET_ONE ('n', 293 GNUNET_GETOPT_option_flag ('n',
294 "non-interactive", 294 "non-interactive",
295 gettext_noop ("run profiler in non-interactive mode where upon " 295 gettext_noop ("run profiler in non-interactive mode where upon "
296 "testbed setup the profiler does not wait for a " 296 "testbed setup the profiler does not wait for a "
@@ -299,7 +299,7 @@ main (int argc, char *const *argv)
299 &noninteractive), 299 &noninteractive),
300 300
301#if !ENABLE_SUPERMUC 301#if !ENABLE_SUPERMUC
302 GNUNET_GETOPT_OPTION_STRING ('H', 302 GNUNET_GETOPT_option_string ('H',
303 "hosts", 303 "hosts",
304 "FILENAME", 304 "FILENAME",
305 gettext_noop ("name of the file with the login information for the testbed"), 305 gettext_noop ("name of the file with the login information for the testbed"),