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/dns/gnunet-dns-monitor.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
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.c | 6 |
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) | |||
348 | { | 348 | { |
349 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 349 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
350 | 350 | ||
351 | GNUNET_GETOPT_OPTION_SET_ONE ('i', | 351 | GNUNET_GETOPT_option_flag ('i', |
352 | "inbound-only", | 352 | "inbound-only", |
353 | gettext_noop ("only monitor DNS queries"), | 353 | gettext_noop ("only monitor DNS queries"), |
354 | &inbound_only), | 354 | &inbound_only), |
355 | 355 | ||
356 | GNUNET_GETOPT_OPTION_SET_ONE ('o', | 356 | GNUNET_GETOPT_option_flag ('o', |
357 | "outbound-only", | 357 | "outbound-only", |
358 | gettext_noop ("only monitor DNS queries"), | 358 | gettext_noop ("only monitor DNS queries"), |
359 | &outbound_only), | 359 | &outbound_only), |
360 | 360 | ||
361 | GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), | 361 | GNUNET_GETOPT_option_verbose (&verbosity), |
362 | GNUNET_GETOPT_OPTION_END | 362 | GNUNET_GETOPT_OPTION_END |
363 | }; | 363 | }; |
364 | 364 | ||