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/nse | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-nse-profiler.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index ea28bf610..4a10022e3 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c | |||
@@ -836,42 +836,42 @@ int | |||
836 | main (int argc, char *const *argv) | 836 | main (int argc, char *const *argv) |
837 | { | 837 | { |
838 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 838 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
839 | GNUNET_GETOPT_OPTION_SET_UINT ('C', | 839 | GNUNET_GETOPT_option_uint ('C', |
840 | "connections", | 840 | "connections", |
841 | "COUNT", | 841 | "COUNT", |
842 | gettext_noop ("limit to the number of connections to NSE services, 0 for none"), | 842 | gettext_noop ("limit to the number of connections to NSE services, 0 for none"), |
843 | &connection_limit), | 843 | &connection_limit), |
844 | GNUNET_GETOPT_OPTION_STRING ('d', | 844 | GNUNET_GETOPT_option_string ('d', |
845 | "details", | 845 | "details", |
846 | "FILENAME", | 846 | "FILENAME", |
847 | gettext_noop ("name of the file for writing connection information and statistics"), | 847 | gettext_noop ("name of the file for writing connection information and statistics"), |
848 | &data_filename), | 848 | &data_filename), |
849 | 849 | ||
850 | GNUNET_GETOPT_OPTION_STRING ('H', | 850 | GNUNET_GETOPT_option_string ('H', |
851 | "hosts", | 851 | "hosts", |
852 | "FILENAME", | 852 | "FILENAME", |
853 | gettext_noop ("name of the file with the login information for the testbed"), | 853 | gettext_noop ("name of the file with the login information for the testbed"), |
854 | &hosts_file), | 854 | &hosts_file), |
855 | 855 | ||
856 | GNUNET_GETOPT_OPTION_STRING ('o', | 856 | GNUNET_GETOPT_option_string ('o', |
857 | "output", | 857 | "output", |
858 | "FILENAME", | 858 | "FILENAME", |
859 | gettext_noop ("name of the file for writing the main results"), | 859 | gettext_noop ("name of the file for writing the main results"), |
860 | &output_filename), | 860 | &output_filename), |
861 | 861 | ||
862 | 862 | ||
863 | GNUNET_GETOPT_OPTION_STRING ('p', | 863 | GNUNET_GETOPT_option_string ('p', |
864 | "peers", | 864 | "peers", |
865 | "NETWORKSIZESPEC", | 865 | "NETWORKSIZESPEC", |
866 | gettext_noop ("Number of peers to run in each round, separated by commas"), | 866 | gettext_noop ("Number of peers to run in each round, separated by commas"), |
867 | &num_peer_spec), | 867 | &num_peer_spec), |
868 | 868 | ||
869 | GNUNET_GETOPT_OPTION_INCREMENT_VALUE ('V', | 869 | GNUNET_GETOPT_option_increment_uint ('V', |
870 | "verbose", | 870 | "verbose", |
871 | gettext_noop ("be verbose (print progress information)"), | 871 | gettext_noop ("be verbose (print progress information)"), |
872 | &verbose), | 872 | &verbose), |
873 | 873 | ||
874 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('w', | 874 | GNUNET_GETOPT_option_relative_time ('w', |
875 | "wait", | 875 | "wait", |
876 | "DELAY", | 876 | "DELAY", |
877 | gettext_noop ("delay between rounds"), | 877 | gettext_noop ("delay between rounds"), |