diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-06-13 06:19:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-06-13 06:19:33 +0000 |
commit | 184240c9c28f784bbdea72742e0a3ce3e3ee4652 (patch) | |
tree | 06a3e2dabf45fe1f91c8d9dad591632e1b6d888b /src/hostlist/gnunet-daemon-hostlist.c | |
parent | 256e783449308d848bb687f5e9e79fde1c5fe03d (diff) | |
download | gnunet-184240c9c28f784bbdea72742e0a3ce3e3ee4652.tar.gz gnunet-184240c9c28f784bbdea72742e0a3ce3e3ee4652.zip |
use external select
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index da2553238..e2e64a717 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -69,13 +69,17 @@ static struct GNUNET_STATISTICS_Handle *stats; | |||
69 | * gnunet-daemon-hostlist command line options. | 69 | * gnunet-daemon-hostlist command line options. |
70 | */ | 70 | */ |
71 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | 71 | static struct GNUNET_GETOPT_CommandLineOption options[] = { |
72 | { 'a', "advertise", NULL, gettext_noop ("advertise our hostlist to other peers"), | 72 | { 'a', "advertise", NULL, |
73 | gettext_noop ("advertise our hostlist to other peers"), | ||
73 | GNUNET_NO, &GNUNET_GETOPT_set_one, &advertising }, | 74 | GNUNET_NO, &GNUNET_GETOPT_set_one, &advertising }, |
74 | { 'b', "bootstrap", NULL, gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), | 75 | { 'b', "bootstrap", NULL, |
76 | gettext_noop ("bootstrap using hostlists (it is highly recommended that you always use this option)"), | ||
75 | GNUNET_NO, &GNUNET_GETOPT_set_one, &bootstrapping }, | 77 | GNUNET_NO, &GNUNET_GETOPT_set_one, &bootstrapping }, |
76 | { 'e', "enable-learning", NULL, gettext_noop ("enable learning about hostlist servers from other peers"), | 78 | { 'e', "enable-learning", NULL, |
79 | gettext_noop ("enable learning about hostlist servers from other peers"), | ||
77 | GNUNET_NO, &GNUNET_GETOPT_set_one, &learning}, | 80 | GNUNET_NO, &GNUNET_GETOPT_set_one, &learning}, |
78 | { 'p', "provide-hostlist", NULL, gettext_noop ("provide a hostlist server"), | 81 | { 'p', "provide-hostlist", NULL, |
82 | gettext_noop ("provide a hostlist server"), | ||
79 | GNUNET_NO, &GNUNET_GETOPT_set_one, &provide_hostlist}, | 83 | GNUNET_NO, &GNUNET_GETOPT_set_one, &provide_hostlist}, |
80 | GNUNET_GETOPT_OPTION_END | 84 | GNUNET_GETOPT_OPTION_END |
81 | }; | 85 | }; |