From d9a283fc89bee6646d31c36f3c07fac8ebc882b2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 25 Sep 2013 09:48:45 +0200 Subject: [PATCH] Rename command-line parameter: -v -> -C --- etc/init.d/icinga2.in | 2 +- icinga-app/icinga.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/init.d/icinga2.in b/etc/init.d/icinga2.in index 15054619e..f123366fa 100644 --- a/etc/init.d/icinga2.in +++ b/etc/init.d/icinga2.in @@ -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 diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 1f64c60de..f8b666252 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -217,7 +217,7 @@ int main(int argc, char **argv) ("library,l", po::value >(), "load a library") ("include,I", po::value >(), "add include search directory") ("config,c", po::value >(), "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(), "log fatal errors to the specified log file (only works in combination with --daemonize)") -- 2.40.0