From: Tobias Ulmer Date: Fri, 29 Nov 2013 16:57:06 +0000 (+0100) Subject: Try to make --log-debug documentation less confusing X-Git-Tag: e2factory-2.3.15rc1~322 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=77b616bb5d5cd824505b92ce5ed2022392fb5519;p=e2factory.git Try to make --log-debug documentation less confusing This is a developer option with limited use to the general user. It makes it possible to see at which warning or log level a message is sent to the console. This information is also available in debug.log, thus this option is more or less obsolete. Too bad it's documented already... Signed-off-by: Tobias Ulmer --- diff --git a/doc/man/e2factory.1.in b/doc/man/e2factory.1.in index 4809787..73c2115 100644 --- a/doc/man/e2factory.1.in +++ b/doc/man/e2factory.1.in @@ -97,7 +97,7 @@ Enable log level 3 (show user debug information). Enable log level 4 (show tool debug information). .TP .BR \-\-log-debug -Enable logging of debugging output. +Enable debugging of log levels and warnings. .TP .BR \-\-Wall Enable all warnings diff --git a/generic/e2lib.lua b/generic/e2lib.lua index d9aff80..33bc249 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -68,7 +68,7 @@ e2lib.globals = { { "v3", false }, -- verbose-build { "v4", false } -- tooldebug }, - log_debug = false, + log_debug = false, -- debug log/warning level debug = false, playground = false, -- variables initialized in init() diff --git a/generic/e2option.lua b/generic/e2option.lua index c9788c0..be1fd4b 100644 --- a/generic/e2option.lua +++ b/generic/e2option.lua @@ -172,7 +172,7 @@ local function defaultoptions() end, category) - e2option.flag("log-debug", "enable logging of debugging output", + e2option.flag("log-debug", "enable debugging of log levels and warnings", function() e2lib.globals.log_debug = true return true