mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
man/loginctl: document "self" and "auto" special session IDs
session-status automatically uses "auto" if no ID is specified, but show-session shows the manager's properties. Let's document these special values so that users of show-session can benefit too.
This commit is contained in:
parent
771240fa3d
commit
5317451f12
|
@ -71,16 +71,15 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><command>show-session</command> <optional><replaceable>ID</replaceable>…</optional></term>
|
<term><command>show-session</command> <optional><replaceable>ID</replaceable>…</optional></term>
|
||||||
|
|
||||||
<listitem><para>Show properties of one or more sessions or the
|
<listitem><para>Show properties of one or more sessions or the manager itself. If no argument is
|
||||||
manager itself. If no argument is specified, properties of the
|
specified, properties of the manager will be shown. If a session ID is specified, properties of
|
||||||
manager will be shown. If a session ID is specified,
|
the session are shown. Specially, if the given ID is <literal>self</literal>, the session to which
|
||||||
properties of the session are shown. By default, empty
|
the <command>loginctl</command> process belongs is used. If <literal>auto</literal>, the current
|
||||||
properties are suppressed. Use <option>--all</option> to show
|
session is used as with <literal>self</literal> if exists, and falls back to the current user's
|
||||||
those too. To select specific properties to show, use
|
graphical session. By default, empty properties are suppressed. Use <option>--all</option> to show
|
||||||
<option>--property=</option>. This command is intended to be
|
those too. To select specific properties to show, use <option>--property=</option>. This command
|
||||||
used whenever computer-parsable output is required. Use
|
is intended to be used whenever computer-parsable output is required. Use <command>session-status</command>
|
||||||
<command>session-status</command> if you are looking for
|
if you are looking for formatted human-readable output.</para>
|
||||||
formatted human-readable output.</para>
|
|
||||||
|
|
||||||
<xi:include href="version-info.xml" xpointer="v233"/></listitem>
|
<xi:include href="version-info.xml" xpointer="v233"/></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
Loading…
Reference in a new issue