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/program.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/program.c')
-rw-r--r-- | src/util/program.c | 10 |
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; |