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/service.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/service.c')
-rw-r--r-- | src/util/service.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/service.c b/src/util/service.c index 800d09a42..f63737e56 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -1722,15 +1722,15 @@ GNUNET_SERVICE_run_ (int argc, | |||
1722 | int err; | 1722 | int err; |
1723 | 1723 | ||
1724 | struct GNUNET_GETOPT_CommandLineOption service_options[] = { | 1724 | struct GNUNET_GETOPT_CommandLineOption service_options[] = { |
1725 | GNUNET_GETOPT_OPTION_CFG_FILE (&opt_cfg_filename), | 1725 | GNUNET_GETOPT_option_cfgfile (&opt_cfg_filename), |
1726 | GNUNET_GETOPT_OPTION_SET_ONE ('d', | 1726 | GNUNET_GETOPT_option_flag ('d', |
1727 | "daemonize", | 1727 | "daemonize", |
1728 | gettext_noop ("do daemonize (detach from terminal)"), | 1728 | gettext_noop ("do daemonize (detach from terminal)"), |
1729 | &do_daemonize), | 1729 | &do_daemonize), |
1730 | GNUNET_GETOPT_OPTION_HELP (NULL), | 1730 | GNUNET_GETOPT_option_help (NULL), |
1731 | GNUNET_GETOPT_OPTION_LOGLEVEL (&loglev), | 1731 | GNUNET_GETOPT_option_loglevel (&loglev), |
1732 | GNUNET_GETOPT_OPTION_LOGFILE (&logfile), | 1732 | GNUNET_GETOPT_option_logfile (&logfile), |
1733 | GNUNET_GETOPT_OPTION_VERSION (PACKAGE_VERSION " " VCS_VERSION), | 1733 | GNUNET_GETOPT_option_version (PACKAGE_VERSION " " VCS_VERSION), |
1734 | GNUNET_GETOPT_OPTION_END | 1734 | GNUNET_GETOPT_OPTION_END |
1735 | }; | 1735 | }; |
1736 | 1736 | ||