From 5a7cef0202631204485cbcb1e36671e4321a936f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 25 Mar 2017 21:25:44 +0100 Subject: rename GNUNET_GETOPT functions to achieve better consistency --- src/hostlist/gnunet-daemon-hostlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/hostlist/gnunet-daemon-hostlist.c') 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) { struct GNUNET_GETOPT_CommandLineOption options[] = { #if HAVE_MHD - GNUNET_GETOPT_OPTION_SET_ONE ('a', + GNUNET_GETOPT_option_flag ('a', "advertise", gettext_noop ("advertise our hostlist to other peers"), &advertising), #endif - GNUNET_GETOPT_OPTION_SET_ONE ('b', + GNUNET_GETOPT_option_flag ('b', "bootstrap", gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), &bootstrapping), - GNUNET_GETOPT_OPTION_SET_ONE ('e', + GNUNET_GETOPT_option_flag ('e', "enable-learning", gettext_noop ("enable learning about hostlist servers from other peers"), &learning), #if HAVE_MHD - GNUNET_GETOPT_OPTION_SET_ONE ('p', + GNUNET_GETOPT_option_flag ('p', "provide-hostlist", gettext_noop ("provide a hostlist server"), &provide_hostlist), -- cgit v1.2.3