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/dns/gnunet-dns-monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dns/gnunet-dns-monitor.c') diff --git a/src/dns/gnunet-dns-monitor.c b/src/dns/gnunet-dns-monitor.c index 2436931fb..fb5c768ac 100644 --- a/src/dns/gnunet-dns-monitor.c +++ b/src/dns/gnunet-dns-monitor.c @@ -348,17 +348,17 @@ main (int argc, char *const *argv) { struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_SET_ONE ('i', + GNUNET_GETOPT_option_flag ('i', "inbound-only", gettext_noop ("only monitor DNS queries"), &inbound_only), - GNUNET_GETOPT_OPTION_SET_ONE ('o', + GNUNET_GETOPT_option_flag ('o', "outbound-only", gettext_noop ("only monitor DNS queries"), &outbound_only), - GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), + GNUNET_GETOPT_option_verbose (&verbosity), GNUNET_GETOPT_OPTION_END }; -- cgit v1.2.3