summaryrefslogtreecommitdiff
path: root/src/util/test_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_program.c')
-rw-r--r--src/util/test_program.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/test_program.c b/src/util/test_program.c
index d206952af..6d51b1872 100644
--- a/src/util/test_program.c
+++ b/src/util/test_program.c
@@ -64,40 +64,40 @@ main (int argc, char *argv[])
NULL
};
struct GNUNET_GETOPT_CommandLineOption options1[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"name",
"description",
&setme1),
GNUNET_GETOPT_OPTION_END
};
struct GNUNET_GETOPT_CommandLineOption options2[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"name",
"description",
&setme1),
- GNUNET_GETOPT_OPTION_SET_ONE ('N',
+ GNUNET_GETOPT_option_flag ('N',
"number",
"description",
&setme2),
GNUNET_GETOPT_OPTION_END
};
struct GNUNET_GETOPT_CommandLineOption options3[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('N',
+ GNUNET_GETOPT_option_flag ('N',
"number",
"description",
&setme1),
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"name",
"description",
&setme2),
GNUNET_GETOPT_OPTION_END
};
struct GNUNET_GETOPT_CommandLineOption options4[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"name",
"description",
&setme1),
- GNUNET_GETOPT_OPTION_SET_ONE ('n',
+ GNUNET_GETOPT_option_flag ('n',
"name",
"description",
&setme2),