From 5a7cef0202631204485cbcb1e36671e4321a936f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 25 Mar 2017 21:25:44 +0100 Subject: rename GNUNET_GETOPT functions to achieve better consistency --- src/nat/gnunet-nat.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/nat') diff --git a/src/nat/gnunet-nat.c b/src/nat/gnunet-nat.c index 50e0dff0f..b3cf2e946 100644 --- a/src/nat/gnunet-nat.c +++ b/src/nat/gnunet-nat.c @@ -419,40 +419,40 @@ main (int argc, { struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_STRING ('i', + GNUNET_GETOPT_option_string ('i', "in", "ADDRESS", gettext_noop ("which IP and port are we locally using to bind/listen to"), &local_addr), - GNUNET_GETOPT_OPTION_STRING ('r', + GNUNET_GETOPT_option_string ('r', "remote", "ADDRESS", gettext_noop ("which remote IP and port should be asked for connection reversal"), &remote_addr), - GNUNET_GETOPT_OPTION_STRING ('S', + GNUNET_GETOPT_option_string ('S', "section", NULL, gettext_noop ("name of configuration section to find additional options, such as manual host punching data"), §ion_name), - GNUNET_GETOPT_OPTION_SET_ONE ('s', + GNUNET_GETOPT_option_flag ('s', "stun", gettext_noop ("enable STUN processing"), &do_stun), - GNUNET_GETOPT_OPTION_SET_ONE ('t', + GNUNET_GETOPT_option_flag ('t', "tcp", gettext_noop ("use TCP"), &use_tcp), - GNUNET_GETOPT_OPTION_SET_ONE ('u', + GNUNET_GETOPT_option_flag ('u', "udp", gettext_noop ("use UDP"), &use_udp), - GNUNET_GETOPT_OPTION_SET_ONE ('W', + GNUNET_GETOPT_option_flag ('W', "watch", gettext_noop ("watch for connection reversal requests"), &listen_reversal), -- cgit v1.2.3