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/hostlist | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index 9b4790c32..854340d3d 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -371,21 +371,21 @@ main (int argc, char *const *argv) | |||
371 | { | 371 | { |
372 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 372 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
373 | #if HAVE_MHD | 373 | #if HAVE_MHD |
374 | GNUNET_GETOPT_OPTION_SET_ONE ('a', | 374 | GNUNET_GETOPT_option_flag ('a', |
375 | "advertise", | 375 | "advertise", |
376 | gettext_noop ("advertise our hostlist to other peers"), | 376 | gettext_noop ("advertise our hostlist to other peers"), |
377 | &advertising), | 377 | &advertising), |
378 | #endif | 378 | #endif |
379 | GNUNET_GETOPT_OPTION_SET_ONE ('b', | 379 | GNUNET_GETOPT_option_flag ('b', |
380 | "bootstrap", | 380 | "bootstrap", |
381 | gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), | 381 | gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), |
382 | &bootstrapping), | 382 | &bootstrapping), |
383 | GNUNET_GETOPT_OPTION_SET_ONE ('e', | 383 | GNUNET_GETOPT_option_flag ('e', |
384 | "enable-learning", | 384 | "enable-learning", |
385 | gettext_noop ("enable learning about hostlist servers from other peers"), | 385 | gettext_noop ("enable learning about hostlist servers from other peers"), |
386 | &learning), | 386 | &learning), |
387 | #if HAVE_MHD | 387 | #if HAVE_MHD |
388 | GNUNET_GETOPT_OPTION_SET_ONE ('p', | 388 | GNUNET_GETOPT_option_flag ('p', |
389 | "provide-hostlist", | 389 | "provide-hostlist", |
390 | gettext_noop ("provide a hostlist server"), | 390 | gettext_noop ("provide a hostlist server"), |
391 | &provide_hostlist), | 391 | &provide_hostlist), |