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/arm/gnunet-arm.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/arm/gnunet-arm.c')
-rw-r--r-- | src/arm/gnunet-arm.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index 78c78738a..4c30985b1 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -764,64 +764,64 @@ main (int argc, char *const *argv) | |||
764 | { | 764 | { |
765 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 765 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
766 | 766 | ||
767 | GNUNET_GETOPT_OPTION_SET_ONE ('e', | 767 | GNUNET_GETOPT_option_flag ('e', |
768 | "end", | 768 | "end", |
769 | gettext_noop ("stop all GNUnet services"), | 769 | gettext_noop ("stop all GNUnet services"), |
770 | &end), | 770 | &end), |
771 | 771 | ||
772 | GNUNET_GETOPT_OPTION_STRING ('i', | 772 | GNUNET_GETOPT_option_string ('i', |
773 | "init", | 773 | "init", |
774 | "SERVICE", | 774 | "SERVICE", |
775 | gettext_noop ("start a particular service"), | 775 | gettext_noop ("start a particular service"), |
776 | &init), | 776 | &init), |
777 | 777 | ||
778 | GNUNET_GETOPT_OPTION_STRING ('k', | 778 | GNUNET_GETOPT_option_string ('k', |
779 | "kill", | 779 | "kill", |
780 | "SERVICE", | 780 | "SERVICE", |
781 | gettext_noop ("stop a particular service"), | 781 | gettext_noop ("stop a particular service"), |
782 | &term), | 782 | &term), |
783 | 783 | ||
784 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 784 | GNUNET_GETOPT_option_flag ('s', |
785 | "start", | 785 | "start", |
786 | gettext_noop ("start all GNUnet default services"), | 786 | gettext_noop ("start all GNUnet default services"), |
787 | &start), | 787 | &start), |
788 | 788 | ||
789 | GNUNET_GETOPT_OPTION_SET_ONE ('r', | 789 | GNUNET_GETOPT_option_flag ('r', |
790 | "restart", | 790 | "restart", |
791 | gettext_noop ("stop and start all GNUnet default services"), | 791 | gettext_noop ("stop and start all GNUnet default services"), |
792 | &restart), | 792 | &restart), |
793 | GNUNET_GETOPT_OPTION_SET_ONE ('d', | 793 | GNUNET_GETOPT_option_flag ('d', |
794 | "delete", | 794 | "delete", |
795 | gettext_noop ("delete config file and directory on exit"), | 795 | gettext_noop ("delete config file and directory on exit"), |
796 | &delete), | 796 | &delete), |
797 | 797 | ||
798 | GNUNET_GETOPT_OPTION_SET_ONE ('m', | 798 | GNUNET_GETOPT_option_flag ('m', |
799 | "monitor", | 799 | "monitor", |
800 | gettext_noop ("monitor ARM activities"), | 800 | gettext_noop ("monitor ARM activities"), |
801 | &monitor), | 801 | &monitor), |
802 | 802 | ||
803 | GNUNET_GETOPT_OPTION_SET_ONE ('q', | 803 | GNUNET_GETOPT_option_flag ('q', |
804 | "quiet", | 804 | "quiet", |
805 | gettext_noop ("don't print status messages"), | 805 | gettext_noop ("don't print status messages"), |
806 | &quiet), | 806 | &quiet), |
807 | 807 | ||
808 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('T', | 808 | GNUNET_GETOPT_option_relative_time ('T', |
809 | "timeout", | 809 | "timeout", |
810 | "DELAY", | 810 | "DELAY", |
811 | gettext_noop ("exit with error status if operation does not finish after DELAY"), | 811 | gettext_noop ("exit with error status if operation does not finish after DELAY"), |
812 | &timeout), | 812 | &timeout), |
813 | 813 | ||
814 | GNUNET_GETOPT_OPTION_SET_ONE ('I', | 814 | GNUNET_GETOPT_option_flag ('I', |
815 | "info", | 815 | "info", |
816 | gettext_noop ("list currently running services"), | 816 | gettext_noop ("list currently running services"), |
817 | &list), | 817 | &list), |
818 | 818 | ||
819 | GNUNET_GETOPT_OPTION_SET_ONE ('O', | 819 | GNUNET_GETOPT_option_flag ('O', |
820 | "no-stdout", | 820 | "no-stdout", |
821 | gettext_noop ("don't let gnunet-service-arm inherit standard output"), | 821 | gettext_noop ("don't let gnunet-service-arm inherit standard output"), |
822 | &no_stdout), | 822 | &no_stdout), |
823 | 823 | ||
824 | GNUNET_GETOPT_OPTION_SET_ONE ('E', | 824 | GNUNET_GETOPT_option_flag ('E', |
825 | "no-stderr", | 825 | "no-stderr", |
826 | gettext_noop ("don't let gnunet-service-arm inherit standard error"), | 826 | gettext_noop ("don't let gnunet-service-arm inherit standard error"), |
827 | &no_stderr), | 827 | &no_stderr), |