man: document effect of --user on --unit with journalctl

Relates to #25061.
This commit is contained in:
Leon M. George 2022-10-19 17:22:48 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent c2af23b50f
commit 3d218676fc

View file

@ -108,7 +108,10 @@
<listitem><para>Show messages from system services and the kernel (with
<option>--system</option>). Show messages from service of current user (with
<option>--user</option>). If neither is specified, show all messages that the user can see.
</para></listitem>
</para>
<para>The <option>--user</option> option affects how <option>--unit</option> arguments are
treated. See <option>--unit</option>.</para></listitem>
</varlistentry>
<varlistentry>
@ -282,6 +285,9 @@
<citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>
unit, all logs of children of the slice will be shown.</para>
<para>With <option>--user</option>, all <option>--unit</option> arguments will be converted to match
user messages as if specified with <option>--user-unit</option>.</para>
<para>This parameter can be specified multiple times.</para></listitem>
</varlistentry>