summaryrefslogtreecommitdiff
path: root/src/ats-tool
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats-tool')
-rw-r--r--src/ats-tool/gnunet-ats.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c
index f645ba56d..5ec7693b1 100644
--- a/src/ats-tool/gnunet-ats.c
+++ b/src/ats-tool/gnunet-ats.c
@@ -945,58 +945,58 @@ main (int argc,
opt_type_str = NULL;
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('u',
+ GNUNET_GETOPT_option_flag ('u',
"used",
gettext_noop ("get list of active addresses currently used"),
&opt_list_used),
- GNUNET_GETOPT_OPTION_SET_ONE ('a',
+ GNUNET_GETOPT_option_flag ('a',
"all",
gettext_noop ("get list of all active addresses"),
&opt_list_all),
- GNUNET_GETOPT_OPTION_STRING ('C',
+ GNUNET_GETOPT_option_string ('C',
"connect",
NULL,
gettext_noop ("connect to PEER"),
&cpid_str),
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"numeric",
gettext_noop ("do not resolve IP addresses to hostnames"),
&opt_resolve_addresses_numeric),
- GNUNET_GETOPT_OPTION_SET_ONE ('m',
+ GNUNET_GETOPT_option_flag ('m',
"monitor",
gettext_noop ("monitor mode"),
&opt_monitor),
- GNUNET_GETOPT_OPTION_SET_ONE ('p',
+ GNUNET_GETOPT_option_flag ('p',
"preference",
gettext_noop ("set preference for the given peer"),
&opt_set_pref),
- GNUNET_GETOPT_OPTION_SET_ONE ('q',
+ GNUNET_GETOPT_option_flag ('q',
"quotas",
gettext_noop ("print all configured quotas"),
&opt_print_quotas),
- GNUNET_GETOPT_OPTION_STRING ('i',
+ GNUNET_GETOPT_option_string ('i',
"id",
"TYPE",
gettext_noop ("peer id"),
&opt_pid_str),
- GNUNET_GETOPT_OPTION_STRING ('t',
+ GNUNET_GETOPT_option_string ('t',
"type",
"TYPE",
gettext_noop ("preference type to set: latency | bandwidth"),
&opt_type_str),
- GNUNET_GETOPT_OPTION_SET_UINT ('k',
+ GNUNET_GETOPT_option_uint ('k',
"value",
"VALUE",
gettext_noop ("preference value"),
&opt_pref_value),
- GNUNET_GETOPT_OPTION_SET_ONE ('V',
+ GNUNET_GETOPT_option_flag ('V',
"verbose",
gettext_noop ("verbose output (include ATS address properties)"),
&opt_verbose),