diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-22 23:18:17 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-10-22 23:18:17 +0000 |
commit | 20d936ba8167f4224cd01903e97fa852c00c0988 (patch) | |
tree | f0628eff5ea0a221f063d1a601191fc550111f5a | |
parent | b8c89d3c4255e1f2ad9bf49eabe89d50c419783e (diff) |
journalctl: clarify -q option
-q suppresses info messages too
-rw-r--r-- | man/journalctl.xml | 4 | ||||
-rw-r--r-- | src/journal/journalctl.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml index 91a5536ade..9784b9f2a8 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -368,7 +368,9 @@ <term><option>-q</option></term> <term><option>--quiet</option></term> - <listitem><para>Suppresses any warning messages regarding + <listitem><para>Suppresses all info messages + (i.e. "-- Logs begin at ...", "-- Reboot --"), + any warning messages regarding inaccessible system journals when run as a normal user.</para></listitem> </varlistentry> diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 5dafb0bcab..863c15b738 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -218,7 +218,7 @@ static void help(void) { " -x --catalog Add message explanations where available\n" " --no-full Ellipsize fields\n" " -a --all Show all fields, including long and unprintable\n" - " -q --quiet Do not show privilege warning\n" + " -q --quiet Do not show info messages and privilege warning\n" " --no-pager Do not pipe output into a pager\n" " -m --merge Show entries from all available journals\n" " -D --directory=PATH Show journal files from directory\n" |