diff options
author | Leon M. George <leon@georgemail.eu> | 2022-10-19 17:22:48 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-10-20 10:28:52 +0200 |
commit | 3d218676fc791fff7f72545405b645ab522a41ff (patch) | |
tree | e52b0037487c64fc9b742cc5f3039c1f08b549a5 /man/journalctl.xml | |
parent | Merge pull request #25073 from mrc0mmand/parse-hwdb-tweaks (diff) | |
download | systemd-3d218676fc791fff7f72545405b645ab522a41ff.tar.xz systemd-3d218676fc791fff7f72545405b645ab522a41ff.zip |
man: document effect of --user on --unit with journalctl
Relates to #25061.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r-- | man/journalctl.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml index 75427bc632..5bf895fce4 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -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> |