diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
commit | 5a7cef0202631204485cbcb1e36671e4321a936f (patch) | |
tree | ff3d10ac71f9284f18be7c33939f3438071e15c4 /src/peerinfo-tool/gnunet-peerinfo.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r-- | src/peerinfo-tool/gnunet-peerinfo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index 59ffe2efd..de7dcd6fa 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c | |||
@@ -838,42 +838,42 @@ int | |||
838 | main (int argc, char *const *argv) | 838 | main (int argc, char *const *argv) |
839 | { | 839 | { |
840 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 840 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
841 | GNUNET_GETOPT_OPTION_SET_ONE ('n', | 841 | GNUNET_GETOPT_option_flag ('n', |
842 | "numeric", | 842 | "numeric", |
843 | gettext_noop ("don't resolve host names"), | 843 | gettext_noop ("don't resolve host names"), |
844 | &no_resolve), | 844 | &no_resolve), |
845 | 845 | ||
846 | GNUNET_GETOPT_OPTION_SET_ONE ('q', | 846 | GNUNET_GETOPT_option_flag ('q', |
847 | "quiet", | 847 | "quiet", |
848 | gettext_noop ("output only the identity strings"), | 848 | gettext_noop ("output only the identity strings"), |
849 | &be_quiet), | 849 | &be_quiet), |
850 | GNUNET_GETOPT_OPTION_SET_ONE ('f', | 850 | GNUNET_GETOPT_option_flag ('f', |
851 | "friends", | 851 | "friends", |
852 | gettext_noop ("include friend-only information"), | 852 | gettext_noop ("include friend-only information"), |
853 | &include_friend_only), | 853 | &include_friend_only), |
854 | 854 | ||
855 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 855 | GNUNET_GETOPT_option_flag ('s', |
856 | "self", | 856 | "self", |
857 | gettext_noop ("output our own identity only"), | 857 | gettext_noop ("output our own identity only"), |
858 | &get_self), | 858 | &get_self), |
859 | 859 | ||
860 | GNUNET_GETOPT_OPTION_SET_ONE ('i', | 860 | GNUNET_GETOPT_option_flag ('i', |
861 | "info", | 861 | "info", |
862 | gettext_noop ("list all known peers"), | 862 | gettext_noop ("list all known peers"), |
863 | &get_info), | 863 | &get_info), |
864 | 864 | ||
865 | GNUNET_GETOPT_OPTION_STRING ('d', | 865 | GNUNET_GETOPT_option_string ('d', |
866 | "dump-hello", | 866 | "dump-hello", |
867 | NULL, | 867 | NULL, |
868 | gettext_noop ("dump hello to file"), | 868 | gettext_noop ("dump hello to file"), |
869 | &dump_hello), | 869 | &dump_hello), |
870 | 870 | ||
871 | GNUNET_GETOPT_OPTION_SET_ONE ('g', | 871 | GNUNET_GETOPT_option_flag ('g', |
872 | "get-hello", | 872 | "get-hello", |
873 | gettext_noop ("also output HELLO uri(s)"), | 873 | gettext_noop ("also output HELLO uri(s)"), |
874 | &get_uri), | 874 | &get_uri), |
875 | 875 | ||
876 | GNUNET_GETOPT_OPTION_STRING ('p', | 876 | GNUNET_GETOPT_option_string ('p', |
877 | "put-hello", | 877 | "put-hello", |
878 | "HELLO", | 878 | "HELLO", |
879 | gettext_noop ("add given HELLO uri to the database"), | 879 | gettext_noop ("add given HELLO uri to the database"), |