]> git.e2factory.org Git - e2factory.git/commitdiff
Try to make --log-debug documentation less confusing
authorTobias Ulmer <tu@emlix.com>
Fri, 29 Nov 2013 16:57:06 +0000 (17:57 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
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 <tu@emlix.com>
doc/man/e2factory.1.in
generic/e2lib.lua
generic/e2option.lua

index 4809787a6e8a3a1cb03ed4945b8e1b3e1b62b203..73c2115ad71025c97bf71b4d8533ff32a6da01ce 100644 (file)
@@ -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
index d9aff80e6b2b47f66d06964f87f32056f3802a5e..33bc2499126af375348a8c9939c4d1dcef55ad94 100644 (file)
@@ -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()
index c9788c0281ed63a59e409a5df1be0e5171f0e539..be1fd4b4ce25dca50f49aa091faf350439b8ff72 100644 (file)
@@ -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