X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fstatistics%2Fgnunet-statistics.c;h=159afda53c5a7f919421312ad68e8defb1a92286;hb=09e5676aa96c2f98ba2a3914b8b2848978930b4d;hp=6cfc5617183e86dcba165fdfe8a16b5e7291fb72;hpb=1a1fd011404059d9e3e1cb1d698617af0a58b82d;p=oweals%2Fgnunet.git diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c index 6cfc56171..159afda53 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"),