summaryrefslogtreecommitdiff
path: root/src/dns/gnunet-dns-monitor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/dns/gnunet-dns-monitor.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/dns/gnunet-dns-monitor.c')
-rw-r--r--src/dns/gnunet-dns-monitor.c6
1 files changed, 3 insertions, 3 deletions
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
};