diff options
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-bcd.c | 2 | ||||
-rw-r--r-- | src/gns/gnunet-dns2gns.c | 10 | ||||
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 4 | ||||
-rw-r--r-- | src/gns/gnunet-gns.c | 12 |
4 files changed, 14 insertions, 14 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index fb7ac10c1..0746d5c57 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c | |||
@@ -516,7 +516,7 @@ main (int argc, char *const *argv) | |||
516 | { | 516 | { |
517 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 517 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
518 | 518 | ||
519 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | 519 | GNUNET_GETOPT_option_uint ('p', |
520 | "port", | 520 | "port", |
521 | "PORT", | 521 | "PORT", |
522 | gettext_noop ("Run HTTP serve on port PORT (default is 8888)"), | 522 | gettext_noop ("Run HTTP serve on port PORT (default is 8888)"), |
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c index c9b4bde9c..424677d14 100644 --- a/src/gns/gnunet-dns2gns.c +++ b/src/gns/gnunet-dns2gns.c | |||
@@ -778,31 +778,31 @@ main (int argc, | |||
778 | { | 778 | { |
779 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 779 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
780 | 780 | ||
781 | GNUNET_GETOPT_OPTION_STRING ('d', | 781 | GNUNET_GETOPT_option_string ('d', |
782 | "dns", | 782 | "dns", |
783 | "IP", | 783 | "IP", |
784 | gettext_noop ("IP of recursive DNS resolver to use (required)"), | 784 | gettext_noop ("IP of recursive DNS resolver to use (required)"), |
785 | &dns_ip), | 785 | &dns_ip), |
786 | 786 | ||
787 | GNUNET_GETOPT_OPTION_STRING ('f', | 787 | GNUNET_GETOPT_option_string ('f', |
788 | "fcfs", | 788 | "fcfs", |
789 | "NAME", | 789 | "NAME", |
790 | gettext_noop ("Authoritative FCFS suffix to use (optional); default: fcfs.zkey.eu"), | 790 | gettext_noop ("Authoritative FCFS suffix to use (optional); default: fcfs.zkey.eu"), |
791 | &fcfs_suffix), | 791 | &fcfs_suffix), |
792 | 792 | ||
793 | GNUNET_GETOPT_OPTION_STRING ('s', | 793 | GNUNET_GETOPT_option_string ('s', |
794 | "suffix", | 794 | "suffix", |
795 | "SUFFIX", | 795 | "SUFFIX", |
796 | gettext_noop ("Authoritative DNS suffix to use (optional); default: zkey.eu"), | 796 | gettext_noop ("Authoritative DNS suffix to use (optional); default: zkey.eu"), |
797 | &dns_suffix), | 797 | &dns_suffix), |
798 | 798 | ||
799 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | 799 | GNUNET_GETOPT_option_uint ('p', |
800 | "port", | 800 | "port", |
801 | "UDPPORT", | 801 | "UDPPORT", |
802 | gettext_noop ("UDP port to listen on for inbound DNS requests; default: 2853"), | 802 | gettext_noop ("UDP port to listen on for inbound DNS requests; default: 2853"), |
803 | &listen_port), | 803 | &listen_port), |
804 | 804 | ||
805 | GNUNET_GETOPT_OPTION_STRING ('z', | 805 | GNUNET_GETOPT_option_string ('z', |
806 | "zone", | 806 | "zone", |
807 | "PUBLICKEY", | 807 | "PUBLICKEY", |
808 | gettext_noop ("Public key of the GNS zone to use (overrides default)"), | 808 | gettext_noop ("Public key of the GNS zone to use (overrides default)"), |
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 35f42cdec..2a6de1c30 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -3263,13 +3263,13 @@ main (int argc, char *const *argv) | |||
3263 | { | 3263 | { |
3264 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 3264 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
3265 | 3265 | ||
3266 | GNUNET_GETOPT_OPTION_SET_ULONG ('p', | 3266 | GNUNET_GETOPT_option_ulong ('p', |
3267 | "port", | 3267 | "port", |
3268 | NULL, | 3268 | NULL, |
3269 | gettext_noop ("listen on specified port (default: 7777)"), | 3269 | gettext_noop ("listen on specified port (default: 7777)"), |
3270 | &port), | 3270 | &port), |
3271 | 3271 | ||
3272 | GNUNET_GETOPT_OPTION_STRING ('a', | 3272 | GNUNET_GETOPT_option_string ('a', |
3273 | "authority", | 3273 | "authority", |
3274 | NULL, | 3274 | NULL, |
3275 | gettext_noop ("pem file to use as CA"), | 3275 | gettext_noop ("pem file to use as CA"), |
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index c85ddfe81..c0de0f30c 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -422,36 +422,36 @@ main (int argc, | |||
422 | { | 422 | { |
423 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 423 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
424 | 424 | ||
425 | GNUNET_GETOPT_OPTION_STRING ('u', | 425 | GNUNET_GETOPT_option_string ('u', |
426 | "lookup", | 426 | "lookup", |
427 | "NAME", | 427 | "NAME", |
428 | gettext_noop ("Lookup a record for the given name"), | 428 | gettext_noop ("Lookup a record for the given name"), |
429 | &lookup_name), | 429 | &lookup_name), |
430 | 430 | ||
431 | GNUNET_GETOPT_OPTION_STRING ('t', | 431 | GNUNET_GETOPT_option_string ('t', |
432 | "type", | 432 | "type", |
433 | "TYPE", | 433 | "TYPE", |
434 | gettext_noop ("Specify the type of the record to lookup"), | 434 | gettext_noop ("Specify the type of the record to lookup"), |
435 | &lookup_type), | 435 | &lookup_type), |
436 | 436 | ||
437 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('T', | 437 | GNUNET_GETOPT_option_relative_time ('T', |
438 | "timeout", | 438 | "timeout", |
439 | "DELAY", | 439 | "DELAY", |
440 | gettext_noop ("Specify timeout for the lookup"), | 440 | gettext_noop ("Specify timeout for the lookup"), |
441 | &timeout), | 441 | &timeout), |
442 | 442 | ||
443 | GNUNET_GETOPT_OPTION_SET_ONE ('r', | 443 | GNUNET_GETOPT_option_flag ('r', |
444 | "raw", | 444 | "raw", |
445 | gettext_noop ("No unneeded output"), | 445 | gettext_noop ("No unneeded output"), |
446 | &raw), | 446 | &raw), |
447 | 447 | ||
448 | GNUNET_GETOPT_OPTION_STRING ('p', | 448 | GNUNET_GETOPT_option_string ('p', |
449 | "public-key", | 449 | "public-key", |
450 | "PKEY", | 450 | "PKEY", |
451 | gettext_noop ("Specify the public key of the zone to lookup the record in"), | 451 | gettext_noop ("Specify the public key of the zone to lookup the record in"), |
452 | &public_key), | 452 | &public_key), |
453 | 453 | ||
454 | GNUNET_GETOPT_OPTION_STRING ('z', | 454 | GNUNET_GETOPT_option_string ('z', |
455 | "zone", | 455 | "zone", |
456 | "NAME", | 456 | "NAME", |
457 | gettext_noop ("Specify the name of the ego of the zone to lookup the record in"), | 457 | gettext_noop ("Specify the name of the ego of the zone to lookup the record in"), |