aboutsummaryrefslogtreecommitdiff
path: root/src/util/program.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/program.c')
-rw-r--r--src/util/program.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/program.c b/src/util/program.c
index e2b356f88..92a9750f3 100644
--- a/src/util/program.c
+++ b/src/util/program.c
@@ -148,11 +148,11 @@ GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName,
148 struct GNUNET_CONFIGURATION_Handle *cfg; 148 struct GNUNET_CONFIGURATION_Handle *cfg;
149 149
150 struct GNUNET_GETOPT_CommandLineOption defoptions[] = { 150 struct GNUNET_GETOPT_CommandLineOption defoptions[] = {
151 GNUNET_GETOPT_OPTION_CFG_FILE (&cc.cfgfile), 151 GNUNET_GETOPT_option_cfgfile (&cc.cfgfile),
152 GNUNET_GETOPT_OPTION_HELP (binaryHelp), 152 GNUNET_GETOPT_option_help (binaryHelp),
153 GNUNET_GETOPT_OPTION_LOGLEVEL (&loglev), 153 GNUNET_GETOPT_option_loglevel (&loglev),
154 GNUNET_GETOPT_OPTION_LOGFILE (&logfile), 154 GNUNET_GETOPT_option_logfile (&logfile),
155 GNUNET_GETOPT_OPTION_VERSION (PACKAGE_VERSION " " VCS_VERSION) 155 GNUNET_GETOPT_option_version (PACKAGE_VERSION " " VCS_VERSION)
156 }; 156 };
157 struct GNUNET_GETOPT_CommandLineOption *allopts; 157 struct GNUNET_GETOPT_CommandLineOption *allopts;
158 const char *gargs; 158 const char *gargs;