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/statistics | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/gnunet-statistics.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c index 6cfc561718..159afda53c 100644 --- a/src/statistics/gnunet-statistics.c +++ b/src/statistics/gnunet-statistics.c @@ -379,39 +379,39 @@ int main (int argc, char *const *argv) { struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_STRING ('n', + GNUNET_GETOPT_option_string ('n', "name", "NAME", gettext_noop ("limit output to statistics for the given NAME"), &name), - GNUNET_GETOPT_OPTION_SET_ONE ('p', + GNUNET_GETOPT_option_flag ('p', "persistent", gettext_noop ("make the value being set persistent"), &persistent), - GNUNET_GETOPT_OPTION_STRING ('s', + GNUNET_GETOPT_option_string ('s', "subsystem", "SUBSYSTEM", gettext_noop ("limit output to the given SUBSYSTEM"), &subsystem), - GNUNET_GETOPT_OPTION_SET_ONE ('q', + GNUNET_GETOPT_option_flag ('q', "quiet", gettext_noop ("just print the statistics value"), &quiet), - GNUNET_GETOPT_OPTION_SET_ONE ('w', + GNUNET_GETOPT_option_flag ('w', "watch", gettext_noop ("watch value continuously"), &watch), - GNUNET_GETOPT_OPTION_STRING ('r', + GNUNET_GETOPT_option_string ('r', "remote", "REMOTE", gettext_noop ("connect to remote host"), &remote_host), - GNUNET_GETOPT_OPTION_SET_ULONG ('o', + GNUNET_GETOPT_option_ulong ('o', "port", "PORT", gettext_noop ("port for remote host"), |