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/util/gnunet-ecc.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/util/gnunet-ecc.c')
-rw-r--r-- | src/util/gnunet-ecc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/gnunet-ecc.c b/src/util/gnunet-ecc.c index 732228b52..2a712f4eb 100644 --- a/src/util/gnunet-ecc.c +++ b/src/util/gnunet-ecc.c | |||
@@ -411,25 +411,25 @@ main (int argc, | |||
411 | { | 411 | { |
412 | list_keys_count = UINT32_MAX; | 412 | list_keys_count = UINT32_MAX; |
413 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 413 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
414 | GNUNET_GETOPT_OPTION_SET_ONE ('i', | 414 | GNUNET_GETOPT_option_flag ('i', |
415 | "iterate", | 415 | "iterate", |
416 | gettext_noop ("list keys included in a file (for testing)"), | 416 | gettext_noop ("list keys included in a file (for testing)"), |
417 | &list_keys), | 417 | &list_keys), |
418 | GNUNET_GETOPT_OPTION_SET_UINT ('e', | 418 | GNUNET_GETOPT_option_uint ('e', |
419 | "end=", | 419 | "end=", |
420 | "COUNT", | 420 | "COUNT", |
421 | gettext_noop ("number of keys to list included in a file (for testing)"), | 421 | gettext_noop ("number of keys to list included in a file (for testing)"), |
422 | &list_keys_count), | 422 | &list_keys_count), |
423 | GNUNET_GETOPT_OPTION_SET_UINT ('g', | 423 | GNUNET_GETOPT_option_uint ('g', |
424 | "generate-keys", | 424 | "generate-keys", |
425 | "COUNT", | 425 | "COUNT", |
426 | gettext_noop ("create COUNT public-private key pairs (for testing)"), | 426 | gettext_noop ("create COUNT public-private key pairs (for testing)"), |
427 | &make_keys), | 427 | &make_keys), |
428 | GNUNET_GETOPT_OPTION_SET_ONE ('p', | 428 | GNUNET_GETOPT_option_flag ('p', |
429 | "print-public-key", | 429 | "print-public-key", |
430 | gettext_noop ("print the public key in ASCII format"), | 430 | gettext_noop ("print the public key in ASCII format"), |
431 | &print_public_key), | 431 | &print_public_key), |
432 | GNUNET_GETOPT_OPTION_SET_ONE ('E', | 432 | GNUNET_GETOPT_option_flag ('E', |
433 | "examples", | 433 | "examples", |
434 | gettext_noop ("print examples of ECC operations (used for compatibility testing)"), | 434 | gettext_noop ("print examples of ECC operations (used for compatibility testing)"), |
435 | &print_examples_flag), | 435 | &print_examples_flag), |