[PATCH] dmesg: correct "-n, --console-level level" example in manual page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When providing an abbreviation of the level name with the option "-n, --console-level level",
it corresponds to the level (included) up to which messages are displayed on the console.
If a level number is given, this level is excluded.

So in the given example, "-n 1" is equivalent to "-n emerg".

Signed-off-by: Jean-Philippe Romain <jean-philippe.romain@xxxxxx>

diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1
index adf5214..a93821a 100644
--- a/sys-utils/dmesg.1
+++ b/sys-utils/dmesg.1
@@ -100,7 +100,7 @@ output.
 For example,
 .B \-n 1
 or
-.B \-n alert
+.B \-n emerg
 prevents all messages, except emergency (panic) messages, from appearing on
 the console.  All levels of messages are still written to
 .IR /proc/kmsg ,
-- 
2.7.4




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux