From: Jean-Philippe ROMAIN <jean-philippe.romain@st.com>
To: <util-linux@vger.kernel.org>
Cc: Jean-Philippe Romain <jean-philippe.romain@st.com>
Subject: [PATCH] dmesg: correct "-n, --console-level level" example in manual page
Date: Mon, 17 Dec 2018 09:30:54 +0100 [thread overview]
Message-ID: <1545035454-30986-1-git-send-email-jean-philippe.romain@st.com> (raw)
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>
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
next reply other threads:[~2018-12-17 8:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 8:30 Jean-Philippe ROMAIN [this message]
2018-12-17 9:48 ` [PATCH] dmesg: correct "-n, --console-level level" example in manual page Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1545035454-30986-1-git-send-email-jean-philippe.romain@st.com \
--to=jean-philippe.romain@st.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).