projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix whitespace
[oweals/gnunet.git]
/
src
/
statistics
/
gnunet-statistics.c
diff --git
a/src/statistics/gnunet-statistics.c
b/src/statistics/gnunet-statistics.c
index 6cfc5617183e86dcba165fdfe8a16b5e7291fb72..159afda53c5a7f919421312ad68e8defb1a92286 100644
(file)
--- 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[] = {
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),
"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),
"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),
"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),
"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),
"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),
"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"),
"port",
"PORT",
gettext_noop ("port for remote host"),