]> granicus.if.org Git - icinga2/commitdiff
Made command-line arguments more Unix-compliant.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 6 Feb 2013 08:45:44 +0000 (09:45 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 6 Feb 2013 08:45:44 +0000 (09:45 +0100)
icinga-app/icinga.cpp

index 41c938031a0edec7334272e2e53d52e49d4784ce..d22ec6ead26eb9b18779cda4f267278b3dfc931c 100644 (file)
@@ -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")
        ;