]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: correct "-n, --console-level level" example in manual page
authorJean-Philippe ROMAIN <jean-philippe.romain@st.com>
Mon, 17 Dec 2018 08:30:54 +0000 (09:30 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jan 2019 10:47:25 +0000 (11:47 +0100)
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@st.com>
sys-utils/dmesg.1

index adf5214b459d9d5b2b464c58bd78bafd63b39570..a93821aeae2507035ef1a9ef7c0a98cc39dbd1a1 100644 (file)
@@ -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 ,