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/dht/gnunet-dht-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/dht/gnunet-dht-monitor.c')
-rw-r--r-- | src/dht/gnunet-dht-monitor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dht/gnunet-dht-monitor.c b/src/dht/gnunet-dht-monitor.c index e4e8c46a1..b7360bbab 100644 --- a/src/dht/gnunet-dht-monitor.c +++ b/src/dht/gnunet-dht-monitor.c | |||
@@ -292,25 +292,25 @@ main (int argc, char *const *argv) | |||
292 | { | 292 | { |
293 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 293 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
294 | 294 | ||
295 | GNUNET_GETOPT_OPTION_STRING ('k', | 295 | GNUNET_GETOPT_option_string ('k', |
296 | "key", | 296 | "key", |
297 | "KEY", | 297 | "KEY", |
298 | gettext_noop ("the query key"), | 298 | gettext_noop ("the query key"), |
299 | &query_key), | 299 | &query_key), |
300 | 300 | ||
301 | GNUNET_GETOPT_OPTION_SET_UINT ('t', | 301 | GNUNET_GETOPT_option_uint ('t', |
302 | "type", | 302 | "type", |
303 | "TYPE", | 303 | "TYPE", |
304 | gettext_noop ("the type of data to look for"), | 304 | gettext_noop ("the type of data to look for"), |
305 | &block_type), | 305 | &block_type), |
306 | 306 | ||
307 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('T', | 307 | GNUNET_GETOPT_option_relative_time ('T', |
308 | "timeout", | 308 | "timeout", |
309 | "TIMEOUT", | 309 | "TIMEOUT", |
310 | gettext_noop ("how long should the monitor command run"), | 310 | gettext_noop ("how long should the monitor command run"), |
311 | &timeout_request), | 311 | &timeout_request), |
312 | 312 | ||
313 | GNUNET_GETOPT_OPTION_SET_ONE ('V', | 313 | GNUNET_GETOPT_option_flag ('V', |
314 | "verbose", | 314 | "verbose", |
315 | gettext_noop ("be verbose (print progress information)"), | 315 | gettext_noop ("be verbose (print progress information)"), |
316 | &verbose), | 316 | &verbose), |