summaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c8
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)
{
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),