icinga-app: show options for log-level

No one know what is the valid options for log-level without looking at
the source code.

fixes #10440

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
This commit is contained in:
Mhd Sulhan 2015-10-22 22:56:04 +07:00 committed by Gunnar Beutner
parent 977d94839b
commit d5883000a9
1 changed files with 3 additions and 1 deletions

View File

@ -193,7 +193,9 @@ int Main(void)
("app,a", po::value<std::string>(), "application library name (default: icinga)")
("library,l", po::value<std::vector<std::string> >(), "load a library")
("include,I", po::value<std::vector<std::string> >(), "add include search directory")
("log-level,x", po::value<std::string>(), "specify the log level for the console log");
("log-level,x", po::value<std::string>()
, "specify the log level for the console log.\n"
"The valid value is either debug, notice, information (default), warning, or critical");
po::options_description hiddenDesc("Hidden options");