1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-08 05:57:26 +03:00

man: document the new -o cat feature

This commit is contained in:
Lennart Poettering 2020-04-30 14:53:14 +02:00
parent 4d5d1bba73
commit e0e3d38726

View File

@ -374,9 +374,10 @@
<option>cat</option> <option>cat</option>
</term> </term>
<listitem> <listitem>
<para>generates a very terse output, only showing the <para>generates a very terse output, only showing the actual message of each journal entry
actual message of each journal entry with no metadata, with no metadata, not even a timestamp. If combined with the
not even a timestamp.</para> <option>--output-fields=</option> option will output the listed fields for each log record,
instead of the message.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -398,10 +399,11 @@
<varlistentry> <varlistentry>
<term><option>--output-fields=</option></term> <term><option>--output-fields=</option></term>
<listitem><para>A comma separated list of the fields which should be included in the output. This has an <listitem><para>A comma separated list of the fields which should be included in the output. This has
effect only for the output modes which would normally show all fields (<option>verbose</option>, an effect only for the output modes which would normally show all fields (<option>verbose</option>,
<option>export</option>, <option>json</option>, <option>json-pretty</option>, <option>json-sse</option> and <option>export</option>, <option>json</option>, <option>json-pretty</option>,
<option>json-seq</option>). The <literal>__CURSOR</literal>, <literal>__REALTIME_TIMESTAMP</literal>, <option>json-sse</option> and <option>json-seq</option>), as well as on <option>cat</option>. For the
former, the <literal>__CURSOR</literal>, <literal>__REALTIME_TIMESTAMP</literal>,
<literal>__MONOTONIC_TIMESTAMP</literal>, and <literal>_BOOT_ID</literal> fields are always <literal>__MONOTONIC_TIMESTAMP</literal>, and <literal>_BOOT_ID</literal> fields are always
printed.</para></listitem> printed.</para></listitem>
</varlistentry> </varlistentry>