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/secretsharing/gnunet-secretsharing-profiler.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/secretsharing/gnunet-secretsharing-profiler.c')
-rw-r--r-- | src/secretsharing/gnunet-secretsharing-profiler.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/secretsharing/gnunet-secretsharing-profiler.c b/src/secretsharing/gnunet-secretsharing-profiler.c index e66019dc6..a83dcd92a 100644 --- a/src/secretsharing/gnunet-secretsharing-profiler.c +++ b/src/secretsharing/gnunet-secretsharing-profiler.c | |||
@@ -604,37 +604,37 @@ main (int argc, char **argv) | |||
604 | { | 604 | { |
605 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 605 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
606 | 606 | ||
607 | GNUNET_GETOPT_OPTION_SET_UINT ('n', | 607 | GNUNET_GETOPT_option_uint ('n', |
608 | "num-peers", | 608 | "num-peers", |
609 | NULL, | 609 | NULL, |
610 | gettext_noop ("number of peers in consensus"), | 610 | gettext_noop ("number of peers in consensus"), |
611 | &num_peers), | 611 | &num_peers), |
612 | 612 | ||
613 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('D', | 613 | GNUNET_GETOPT_option_relative_time ('D', |
614 | "delay", | 614 | "delay", |
615 | NULL, | 615 | NULL, |
616 | gettext_noop ("dkg start delay"), | 616 | gettext_noop ("dkg start delay"), |
617 | &delay), | 617 | &delay), |
618 | 618 | ||
619 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', | 619 | GNUNET_GETOPT_option_relative_time ('t', |
620 | "timeout", | 620 | "timeout", |
621 | NULL, | 621 | NULL, |
622 | gettext_noop ("dkg timeout"), | 622 | gettext_noop ("dkg timeout"), |
623 | &timeout), | 623 | &timeout), |
624 | 624 | ||
625 | GNUNET_GETOPT_OPTION_SET_UINT ('k', | 625 | GNUNET_GETOPT_option_uint ('k', |
626 | "threshold", | 626 | "threshold", |
627 | NULL, | 627 | NULL, |
628 | gettext_noop ("threshold"), | 628 | gettext_noop ("threshold"), |
629 | &threshold), | 629 | &threshold), |
630 | 630 | ||
631 | GNUNET_GETOPT_OPTION_SET_ONE ('d', | 631 | GNUNET_GETOPT_option_flag ('d', |
632 | "descrypt", | 632 | "descrypt", |
633 | gettext_noop ("also profile decryption"), | 633 | gettext_noop ("also profile decryption"), |
634 | &decrypt), | 634 | &decrypt), |
635 | 635 | ||
636 | 636 | ||
637 | GNUNET_GETOPT_OPTION_VERBOSE (&verbose), | 637 | GNUNET_GETOPT_option_verbose (&verbose), |
638 | 638 | ||
639 | GNUNET_GETOPT_OPTION_END | 639 | GNUNET_GETOPT_OPTION_END |
640 | }; | 640 | }; |