summaryrefslogtreecommitdiff
path: root/src/util/gnunet-ecc.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/util/gnunet-ecc.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/util/gnunet-ecc.c')
-rw-r--r--src/util/gnunet-ecc.c10
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,
{
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),