diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk.c | 4 | ||||
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk.c | 2 | ||||
-rw-r--r-- | src/setup/gnunet-setup.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/conversation/gnunet-conversation-gtk.c b/src/conversation/gnunet-conversation-gtk.c index b004abaa..eb4e295c 100644 --- a/src/conversation/gnunet-conversation-gtk.c +++ b/src/conversation/gnunet-conversation-gtk.c | |||
@@ -172,12 +172,12 @@ int | |||
172 | main (int argc, char *const *argv) | 172 | main (int argc, char *const *argv) |
173 | { | 173 | { |
174 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 174 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
175 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | 175 | GNUNET_GETOPT_option_uint ('p', |
176 | "phone", | 176 | "phone", |
177 | "LINE", | 177 | "LINE", |
178 | gettext_noop ("sets the LINE to use for the phone"), | 178 | gettext_noop ("sets the LINE to use for the phone"), |
179 | &line), | 179 | &line), |
180 | GNUNET_GETOPT_OPTION_STRING ('e', | 180 | GNUNET_GETOPT_option_string ('e', |
181 | "ego", | 181 | "ego", |
182 | "EGO", | 182 | "EGO", |
183 | gettext_noop ("select ego to use"), | 183 | gettext_noop ("select ego to use"), |
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c index 951f7fc8..55153212 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk.c +++ b/src/peerinfo/gnunet-peerinfo-gtk.c | |||
@@ -1549,7 +1549,7 @@ int | |||
1549 | main (int argc, char **argv) | 1549 | main (int argc, char **argv) |
1550 | { | 1550 | { |
1551 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 1551 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
1552 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 1552 | GNUNET_GETOPT_option_flag ('s', |
1553 | "show-inactive", | 1553 | "show-inactive", |
1554 | gettext_noop ("show peers even if the are inactive and we know nothing except their public key"), | 1554 | gettext_noop ("show peers even if the are inactive and we know nothing except their public key"), |
1555 | &show_inactive), | 1555 | &show_inactive), |
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c index 74bf2fe4..d60c3211 100644 --- a/src/setup/gnunet-setup.c +++ b/src/setup/gnunet-setup.c | |||
@@ -519,7 +519,7 @@ main (int argc, char *const *argv) | |||
519 | { | 519 | { |
520 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 520 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
521 | #ifndef MINGW | 521 | #ifndef MINGW |
522 | GNUNET_GETOPT_OPTION_SET_ONE ('e', | 522 | GNUNET_GETOPT_option_flag ('e', |
523 | "elevate-priviledges", | 523 | "elevate-priviledges", |
524 | gettext_noop ("run as user 'gnunet', if necessary by executing gksu to elevate rights"), | 524 | gettext_noop ("run as user 'gnunet', if necessary by executing gksu to elevate rights"), |
525 | &do_gksu), | 525 | &do_gksu), |