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/util/gnunet-config.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r-- | src/util/gnunet-config.c | 12 |
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 | |||
224 | main (int argc, char *const *argv) | 224 | main (int argc, char *const *argv) |
225 | { | 225 | { |
226 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 226 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
227 | GNUNET_GETOPT_OPTION_SET_ONE ('f', | 227 | GNUNET_GETOPT_option_flag ('f', |
228 | "filename", | 228 | "filename", |
229 | gettext_noop ("obtain option of value as a filename (with $-expansion)"), | 229 | gettext_noop ("obtain option of value as a filename (with $-expansion)"), |
230 | &is_filename), | 230 | &is_filename), |
231 | GNUNET_GETOPT_OPTION_STRING ('s', | 231 | GNUNET_GETOPT_option_string ('s', |
232 | "section", | 232 | "section", |
233 | "SECTION", | 233 | "SECTION", |
234 | gettext_noop ("name of the section to access"), | 234 | gettext_noop ("name of the section to access"), |
235 | §ion), | 235 | §ion), |
236 | GNUNET_GETOPT_OPTION_STRING ('o', | 236 | GNUNET_GETOPT_option_string ('o', |
237 | "option", | 237 | "option", |
238 | "OPTION", | 238 | "OPTION", |
239 | gettext_noop ("name of the option to access"), | 239 | gettext_noop ("name of the option to access"), |
240 | &option), | 240 | &option), |
241 | GNUNET_GETOPT_OPTION_STRING ('V', | 241 | GNUNET_GETOPT_option_string ('V', |
242 | "value", | 242 | "value", |
243 | "VALUE", | 243 | "VALUE", |
244 | gettext_noop ("value to set"), | 244 | gettext_noop ("value to set"), |
245 | &value), | 245 | &value), |
246 | GNUNET_GETOPT_OPTION_SET_ONE ('S', | 246 | GNUNET_GETOPT_option_flag ('S', |
247 | "list-sections", | 247 | "list-sections", |
248 | gettext_noop ("print available configuration sections"), | 248 | gettext_noop ("print available configuration sections"), |
249 | &list_sections), | 249 | &list_sections), |
250 | GNUNET_GETOPT_OPTION_SET_ONE ('w', | 250 | GNUNET_GETOPT_option_flag ('w', |
251 | "rewrite", | 251 | "rewrite", |
252 | gettext_noop ("write configuration file that only contains delta to defaults"), | 252 | gettext_noop ("write configuration file that only contains delta to defaults"), |
253 | &rewrite), | 253 | &rewrite), |