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/cadet/gnunet-cadet.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 57eeac7355..675e7faf02 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.c @@ -922,49 +922,49 @@ main (int argc, const char helpstr[] = "Create tunnels and retrieve info about CADET's status."; struct GNUNET_GETOPT_CommandLineOption options[] = { /* I would use the terminology 'circuit' here... --lynX */ - GNUNET_GETOPT_OPTION_STRING ('C', + GNUNET_GETOPT_option_string ('C', "connection", "CONNECTION_ID", gettext_noop ("Provide information about a particular connection"), &conn_id), - GNUNET_GETOPT_OPTION_SET_ONE ('e', + GNUNET_GETOPT_option_flag ('e', "echo", gettext_noop ("Activate echo mode"), &echo), - GNUNET_GETOPT_OPTION_SET_ONE ('d', + GNUNET_GETOPT_option_flag ('d', "dump", gettext_noop ("Dump debug information to STDERR"), &dump), - GNUNET_GETOPT_OPTION_STRING ('o', + GNUNET_GETOPT_option_string ('o', "open-port", "SHARED_SECRET", gettext_noop ("Listen for connections using a shared secret among sender and recipient"), &listen_port), - GNUNET_GETOPT_OPTION_STRING ('p', + GNUNET_GETOPT_option_string ('p', "peer", "PEER_ID", gettext_noop ("Provide information about a patricular peer"), &peer_id), - GNUNET_GETOPT_OPTION_SET_ONE ('P', + GNUNET_GETOPT_option_flag ('P', "peers", gettext_noop ("Provide information about all peers"), &request_peers), - GNUNET_GETOPT_OPTION_STRING ('t', + GNUNET_GETOPT_option_string ('t', "tunnel", "TUNNEL_ID", gettext_noop ("Provide information about a particular tunnel"), &tunnel_id), - GNUNET_GETOPT_OPTION_SET_ONE ('T', + GNUNET_GETOPT_option_flag ('T', "tunnels", gettext_noop ("Provide information about all tunnels"), &request_tunnels), |