diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
commit | 5a7cef0202631204485cbcb1e36671e4321a936f (patch) | |
tree | ff3d10ac71f9284f18be7c33939f3438071e15c4 /src/statistics/gnunet-statistics.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/statistics/gnunet-statistics.c')
-rw-r--r-- | src/statistics/gnunet-statistics.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c index 6cfc56171..159afda53 100644 --- a/src/statistics/gnunet-statistics.c +++ b/src/statistics/gnunet-statistics.c | |||
@@ -379,39 +379,39 @@ int | |||
379 | main (int argc, char *const *argv) | 379 | main (int argc, char *const *argv) |
380 | { | 380 | { |
381 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 381 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
382 | GNUNET_GETOPT_OPTION_STRING ('n', | 382 | GNUNET_GETOPT_option_string ('n', |
383 | "name", | 383 | "name", |
384 | "NAME", | 384 | "NAME", |
385 | gettext_noop ("limit output to statistics for the given NAME"), | 385 | gettext_noop ("limit output to statistics for the given NAME"), |
386 | &name), | 386 | &name), |
387 | 387 | ||
388 | GNUNET_GETOPT_OPTION_SET_ONE ('p', | 388 | GNUNET_GETOPT_option_flag ('p', |
389 | "persistent", | 389 | "persistent", |
390 | gettext_noop ("make the value being set persistent"), | 390 | gettext_noop ("make the value being set persistent"), |
391 | &persistent), | 391 | &persistent), |
392 | 392 | ||
393 | GNUNET_GETOPT_OPTION_STRING ('s', | 393 | GNUNET_GETOPT_option_string ('s', |
394 | "subsystem", | 394 | "subsystem", |
395 | "SUBSYSTEM", | 395 | "SUBSYSTEM", |
396 | gettext_noop ("limit output to the given SUBSYSTEM"), | 396 | gettext_noop ("limit output to the given SUBSYSTEM"), |
397 | &subsystem), | 397 | &subsystem), |
398 | 398 | ||
399 | GNUNET_GETOPT_OPTION_SET_ONE ('q', | 399 | GNUNET_GETOPT_option_flag ('q', |
400 | "quiet", | 400 | "quiet", |
401 | gettext_noop ("just print the statistics value"), | 401 | gettext_noop ("just print the statistics value"), |
402 | &quiet), | 402 | &quiet), |
403 | 403 | ||
404 | GNUNET_GETOPT_OPTION_SET_ONE ('w', | 404 | GNUNET_GETOPT_option_flag ('w', |
405 | "watch", | 405 | "watch", |
406 | gettext_noop ("watch value continuously"), | 406 | gettext_noop ("watch value continuously"), |
407 | &watch), | 407 | &watch), |
408 | 408 | ||
409 | GNUNET_GETOPT_OPTION_STRING ('r', | 409 | GNUNET_GETOPT_option_string ('r', |
410 | "remote", | 410 | "remote", |
411 | "REMOTE", | 411 | "REMOTE", |
412 | gettext_noop ("connect to remote host"), | 412 | gettext_noop ("connect to remote host"), |
413 | &remote_host), | 413 | &remote_host), |
414 | GNUNET_GETOPT_OPTION_SET_ULONG ('o', | 414 | GNUNET_GETOPT_option_ulong ('o', |
415 | "port", | 415 | "port", |
416 | "PORT", | 416 | "PORT", |
417 | gettext_noop ("port for remote host"), | 417 | gettext_noop ("port for remote host"), |