From 77b616bb5d5cd824505b92ce5ed2022392fb5519 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Fri, 29 Nov 2013 17:57:06 +0100 Subject: [PATCH] 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 --- doc/man/e2factory.1.in | 2 +- generic/e2lib.lua | 2 +- generic/e2option.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5