From d5883000a985c947e310045bcddb71786f533252 Mon Sep 17 00:00:00 2001 From: Mhd Sulhan Date: Thu, 22 Oct 2015 22:56:04 +0700 Subject: [PATCH] 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 --- icinga-app/icinga.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 2365cb4be..f09df27a1 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -193,7 +193,9 @@ int Main(void) ("app,a", po::value(), "application library name (default: icinga)") ("library,l", po::value >(), "load a library") ("include,I", po::value >(), "add include search directory") - ("log-level,x", po::value(), "specify the log level for the console log"); + ("log-level,x", po::value() + , "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");