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/fs/gnunet-search.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/fs/gnunet-search.c')
-rw-r--r-- | src/fs/gnunet-search.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c index 22e790cf3..ef1743436 100644 --- a/src/fs/gnunet-search.c +++ b/src/fs/gnunet-search.c | |||
@@ -307,34 +307,34 @@ main (int argc, char *const *argv) | |||
307 | { | 307 | { |
308 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 308 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
309 | 309 | ||
310 | GNUNET_GETOPT_OPTION_SET_UINT ('a', | 310 | GNUNET_GETOPT_option_uint ('a', |
311 | "anonymity", | 311 | "anonymity", |
312 | "LEVEL", | 312 | "LEVEL", |
313 | gettext_noop ("set the desired LEVEL of receiver-anonymity"), | 313 | gettext_noop ("set the desired LEVEL of receiver-anonymity"), |
314 | &anonymity), | 314 | &anonymity), |
315 | 315 | ||
316 | 316 | ||
317 | GNUNET_GETOPT_OPTION_SET_ONE ('n', | 317 | GNUNET_GETOPT_option_flag ('n', |
318 | "no-network", | 318 | "no-network", |
319 | gettext_noop ("only search the local peer (no P2P network search)"), | 319 | gettext_noop ("only search the local peer (no P2P network search)"), |
320 | &local_only), | 320 | &local_only), |
321 | 321 | ||
322 | GNUNET_GETOPT_OPTION_STRING ('o', | 322 | GNUNET_GETOPT_option_string ('o', |
323 | "output", | 323 | "output", |
324 | "PREFIX", | 324 | "PREFIX", |
325 | gettext_noop ("write search results to file starting with PREFIX"), | 325 | gettext_noop ("write search results to file starting with PREFIX"), |
326 | &output_filename), | 326 | &output_filename), |
327 | 327 | ||
328 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', | 328 | GNUNET_GETOPT_option_relative_time ('t', |
329 | "timeout", | 329 | "timeout", |
330 | "DELAY", | 330 | "DELAY", |
331 | gettext_noop ("automatically terminate search after DELAY"), | 331 | gettext_noop ("automatically terminate search after DELAY"), |
332 | &timeout), | 332 | &timeout), |
333 | 333 | ||
334 | 334 | ||
335 | GNUNET_GETOPT_OPTION_VERBOSE (&verbose), | 335 | GNUNET_GETOPT_option_verbose (&verbose), |
336 | 336 | ||
337 | GNUNET_GETOPT_OPTION_SET_UINT ('N', | 337 | GNUNET_GETOPT_option_uint ('N', |
338 | "results", | 338 | "results", |
339 | "VALUE", | 339 | "VALUE", |
340 | gettext_noop ("automatically terminate search " | 340 | gettext_noop ("automatically terminate search " |