aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/gnunet-cadet.c16
-rw-r--r--src/cadet/test_cadet.c4
2 files changed, 10 insertions, 10 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),
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c
index 8963d97c9..72df2203c 100644
--- a/src/cadet/test_cadet.c
+++ b/src/cadet/test_cadet.c
@@ -959,13 +959,13 @@ main (int argc, char *argv[])
959 const char *config_file; 959 const char *config_file;
960 char port_id[] = "test port"; 960 char port_id[] = "test port";
961 struct GNUNET_GETOPT_CommandLineOption options[] = { 961 struct GNUNET_GETOPT_CommandLineOption options[] = {
962 GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', 962 GNUNET_GETOPT_option_relative_time ('t',
963 "time", 963 "time",
964 "short_time", 964 "short_time",
965 gettext_noop ("set short timeout"), 965 gettext_noop ("set short timeout"),
966 &short_time), 966 &short_time),
967 967
968 GNUNET_GETOPT_OPTION_SET_UINT ('m', 968 GNUNET_GETOPT_option_uint ('m',
969 "messages", 969 "messages",
970 "NUM_MESSAGES", 970 "NUM_MESSAGES",
971 gettext_noop ("set number of messages to send"), 971 gettext_noop ("set number of messages to send"),