summaryrefslogtreecommitdiff
path: root/src/util/gnunet-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r--src/util/gnunet-config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index 2beb772a9..fb3b9ebf9 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -224,30 +224,30 @@ int
main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('f',
+ GNUNET_GETOPT_option_flag ('f',
"filename",
gettext_noop ("obtain option of value as a filename (with $-expansion)"),
&is_filename),
- GNUNET_GETOPT_OPTION_STRING ('s',
+ GNUNET_GETOPT_option_string ('s',
"section",
"SECTION",
gettext_noop ("name of the section to access"),
&section),
- GNUNET_GETOPT_OPTION_STRING ('o',
+ GNUNET_GETOPT_option_string ('o',
"option",
"OPTION",
gettext_noop ("name of the option to access"),
&option),
- GNUNET_GETOPT_OPTION_STRING ('V',
+ GNUNET_GETOPT_option_string ('V',
"value",
"VALUE",
gettext_noop ("value to set"),
&value),
- GNUNET_GETOPT_OPTION_SET_ONE ('S',
+ GNUNET_GETOPT_option_flag ('S',
"list-sections",
gettext_noop ("print available configuration sections"),
&list_sections),
- GNUNET_GETOPT_OPTION_SET_ONE ('w',
+ GNUNET_GETOPT_option_flag ('w',
"rewrite",
gettext_noop ("write configuration file that only contains delta to defaults"),
&rewrite),