]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document effect of --user on --unit with journalctl
authorLeon M. George <leon@georgemail.eu>
Wed, 19 Oct 2022 15:22:48 +0000 (17:22 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Oct 2022 08:28:52 +0000 (10:28 +0200)
Relates to #25061.

man/journalctl.xml

index 75427bc632e677a6bbf2a694ea70d19934ae2114..5bf895fce441e4b4237db164dfcdc6fd690632a9 100644 (file)
         <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>
         <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>