diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-26 06:40:40 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-05-10 04:43:57 +0200 |
commit | d0936a72660598118052636c1340f060cffc61c7 (patch) | |
tree | a71b596c922247a5a187099e9ab087cf63f9ab78 /man/journalctl.xml | |
parent | journalctl: fail and show error message when no boot ID found (diff) | |
download | systemd-d0936a72660598118052636c1340f060cffc61c7.tar.xz systemd-d0936a72660598118052636c1340f060cffc61c7.zip |
journalctl: make --list-boots support -n/--lines= option
Also mention that -r/--reverse is supported by the command.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r-- | man/journalctl.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml index 7d6820064e..caa10a056b 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -851,10 +851,16 @@ <varlistentry> <term><option>--list-boots</option></term> - <listitem><para>Show a tabular list of boot numbers (relative to the current boot), their IDs, and - the timestamps of the first and last message pertaining to the boot.</para> - - <xi:include href="version-info.xml" xpointer="v209"/></listitem> + <listitem> + <para>Show a tabular list of boot numbers (relative to the current boot), their IDs, and the + timestamps of the first and last message pertaining to the boot. When specified with + <option>-n/--lines=<optional>+</optional><replaceable>N</replaceable></option> option, only the + first (when the number prefixed with <literal>+</literal>) or the last (without prefix) + <replaceable>N</replaceable> entries will be shown. When specified with + <option>-r/--reverse</option>, the list will be shown in the reverse order.</para> + + <xi:include href="version-info.xml" xpointer="v209"/> + </listitem> </varlistentry> <varlistentry> |