aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-cadet.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/cadet/gnunet-cadet.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
downloadgnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz
gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r--src/cadet/gnunet-cadet.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c
index 57eeac735..675e7faf0 100644
--- a/src/cadet/gnunet-cadet.c
+++ b/src/cadet/gnunet-cadet.c
@@ -922,49 +922,49 @@ main (int argc,
922 const char helpstr[] = "Create tunnels and retrieve info about CADET's status."; 922 const char helpstr[] = "Create tunnels and retrieve info about CADET's status.";
923 struct GNUNET_GETOPT_CommandLineOption options[] = { 923 struct GNUNET_GETOPT_CommandLineOption options[] = {
924 /* I would use the terminology 'circuit' here... --lynX */ 924 /* I would use the terminology 'circuit' here... --lynX */
925 GNUNET_GETOPT_OPTION_STRING ('C', 925 GNUNET_GETOPT_option_string ('C',
926 "connection", 926 "connection",
927 "CONNECTION_ID", 927 "CONNECTION_ID",
928 gettext_noop ("Provide information about a particular connection"), 928 gettext_noop ("Provide information about a particular connection"),
929 &conn_id), 929 &conn_id),
930 930
931 GNUNET_GETOPT_OPTION_SET_ONE ('e', 931 GNUNET_GETOPT_option_flag ('e',
932 "echo", 932 "echo",
933 gettext_noop ("Activate echo mode"), 933 gettext_noop ("Activate echo mode"),
934 &echo), 934 &echo),
935 935
936 GNUNET_GETOPT_OPTION_SET_ONE ('d', 936 GNUNET_GETOPT_option_flag ('d',
937 "dump", 937 "dump",
938 gettext_noop ("Dump debug information to STDERR"), 938 gettext_noop ("Dump debug information to STDERR"),
939 &dump), 939 &dump),
940 940
941 GNUNET_GETOPT_OPTION_STRING ('o', 941 GNUNET_GETOPT_option_string ('o',
942 "open-port", 942 "open-port",
943 "SHARED_SECRET", 943 "SHARED_SECRET",
944 gettext_noop ("Listen for connections using a shared secret among sender and recipient"), 944 gettext_noop ("Listen for connections using a shared secret among sender and recipient"),
945 &listen_port), 945 &listen_port),
946 946
947 947
948 GNUNET_GETOPT_OPTION_STRING ('p', 948 GNUNET_GETOPT_option_string ('p',
949 "peer", 949 "peer",
950 "PEER_ID", 950 "PEER_ID",
951 gettext_noop ("Provide information about a patricular peer"), 951 gettext_noop ("Provide information about a patricular peer"),
952 &peer_id), 952 &peer_id),
953 953
954 954
955 GNUNET_GETOPT_OPTION_SET_ONE ('P', 955 GNUNET_GETOPT_option_flag ('P',
956 "peers", 956 "peers",
957 gettext_noop ("Provide information about all peers"), 957 gettext_noop ("Provide information about all peers"),
958 &request_peers), 958 &request_peers),
959 959
960 GNUNET_GETOPT_OPTION_STRING ('t', 960 GNUNET_GETOPT_option_string ('t',
961 "tunnel", 961 "tunnel",
962 "TUNNEL_ID", 962 "TUNNEL_ID",
963 gettext_noop ("Provide information about a particular tunnel"), 963 gettext_noop ("Provide information about a particular tunnel"),
964 &tunnel_id), 964 &tunnel_id),
965 965
966 966
967 GNUNET_GETOPT_OPTION_SET_ONE ('T', 967 GNUNET_GETOPT_option_flag ('T',
968 "tunnels", 968 "tunnels",
969 gettext_noop ("Provide information about all tunnels"), 969 gettext_noop ("Provide information about all tunnels"),
970 &request_tunnels), 970 &request_tunnels),