mirror of https://github.com/Icinga/icinga2.git
Rename command-line parameter: -v -> -C
This commit is contained in:
parent
1b205d73c9
commit
d9a283fc89
|
@ -45,7 +45,7 @@ start() {
|
|||
mkdir -p `dirname -- $ICINGA2_ERROR_LOG`
|
||||
|
||||
echo "Validating the configuration file:"
|
||||
if ! $DAEMON -c $ICINGA2_CONFIG_FILE -v; then
|
||||
if ! $DAEMON -c $ICINGA2_CONFIG_FILE -C; then
|
||||
echo "Not starting Icinga 2 due to configuration errors."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -217,7 +217,7 @@ int main(int argc, char **argv)
|
|||
("library,l", po::value<std::vector<String> >(), "load a library")
|
||||
("include,I", po::value<std::vector<String> >(), "add include search directory")
|
||||
("config,c", po::value<std::vector<String> >(), "parse a configuration file")
|
||||
("validate,v", "exit after validating the configuration")
|
||||
("validate,C", "exit after validating the configuration")
|
||||
("debug,x", "enable debugging")
|
||||
("daemonize,d", "detach from the controlling terminal")
|
||||
("errorlog,e", po::value<String>(), "log fatal errors to the specified log file (only works in combination with --daemonize)")
|
||||
|
|
Loading…
Reference in New Issue