From 5a7cef0202631204485cbcb1e36671e4321a936f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 25 Mar 2017 21:25:44 +0100 Subject: rename GNUNET_GETOPT functions to achieve better consistency --- src/util/gnunet-ecc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/util/gnunet-ecc.c') 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, { list_keys_count = UINT32_MAX; struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_SET_ONE ('i', + GNUNET_GETOPT_option_flag ('i', "iterate", gettext_noop ("list keys included in a file (for testing)"), &list_keys), - GNUNET_GETOPT_OPTION_SET_UINT ('e', + GNUNET_GETOPT_option_uint ('e', "end=", "COUNT", gettext_noop ("number of keys to list included in a file (for testing)"), &list_keys_count), - GNUNET_GETOPT_OPTION_SET_UINT ('g', + GNUNET_GETOPT_option_uint ('g', "generate-keys", "COUNT", gettext_noop ("create COUNT public-private key pairs (for testing)"), &make_keys), - GNUNET_GETOPT_OPTION_SET_ONE ('p', + GNUNET_GETOPT_option_flag ('p', "print-public-key", gettext_noop ("print the public key in ASCII format"), &print_public_key), - GNUNET_GETOPT_OPTION_SET_ONE ('E', + GNUNET_GETOPT_option_flag ('E', "examples", gettext_noop ("print examples of ECC operations (used for compatibility testing)"), &print_examples_flag), -- cgit v1.2.3