[icinga-checkins] icinga.org: icinga2/master: Made command-line arguments more Unix-compliant .

git at icinga.org git at icinga.org
Wed Feb 6 09:46:10 CET 2013


Module: icinga2
Branch: master
Commit: 25e34fa5d275c6e9d82cf5799900c2aceedc98dd
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=25e34fa5d275c6e9d82cf5799900c2aceedc98dd

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Feb  6 09:45:44 2013 +0100

Made command-line arguments more Unix-compliant.

---

 icinga-app/icinga.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp
index 41c9380..d22ec6e 100644
--- a/icinga-app/icinga.cpp
+++ b/icinga-app/icinga.cpp
@@ -161,13 +161,13 @@ int main(int argc, char **argv)
 
 	po::options_description desc("Supported options");
 	desc.add_options()
-		("help,h", "show this help message")
+		("help", "show this help message")
 		("version,V", "show version information")
 		("library,l", po::value<vector<String> >(), "load a library")
 		("include,I", po::value<vector<String> >(), "add include search directory")
 		("config,c", po::value<vector<String> >(), "parse a configuration file")
 		("validate,v", "exit after validating the configuration")
-		("debug", "enable debugging")
+		("debug,x", "enable debugging")
 		("daemonize,d", "daemonize after reading the configuration files")
 	;
 





More information about the icinga-checkins mailing list