diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/loginctl.xml | 55 |
1 files changed, 43 insertions, 12 deletions
diff --git a/man/loginctl.xml b/man/loginctl.xml index 749db92ed1..5ff9f75059 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -157,6 +157,35 @@ <constant>SIGTERM</constant>.</para></listitem> </varlistentry> + <varlistentry> + <term><option>-n</option></term> + <term><option>--lines=</option></term> + + <listitem><para>When used with + <command>user-status</command> and + <command>session-status</command>, + controls the number of journal lines + to show, counting from the most recent + ones. Takes a positive integer + argument. Defaults to 10.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>-o</option></term> + <term><option>--output=</option></term> + + <listitem><para>When used with + <command>user-status</command> and + <command>session-status</command>, + controls the formatting of the journal + entries that are shown. For the + available choices, see + <citerefentry><refentrytitle>journalctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>. + Defaults to + <literal>short</literal>.</para></listitem> + </varlistentry> + <xi:include href="user-system-options.xml" xpointer="host" /> <xi:include href="user-system-options.xml" xpointer="machine" /> @@ -179,11 +208,12 @@ <listitem><para>Show terse runtime status information about one or more - sessions. This function is intended to - generate human-readable output. If you - are looking for computer-parsable - output, use - <command>show-session</command> + sessions, followed by the most recent + log data from the journal. This + function is intended to generate + human-readable output. If you are + looking for computer-parsable output, + use <command>show-session</command> instead.</para></listitem> </varlistentry> @@ -274,13 +304,14 @@ <listitem><para>Show terse runtime status information about one or more - logged in users. This function is - intended to generate human-readable - output. If you are looking for - computer-parsable output, use - <command>show-user</command> instead. - Users may be specified by their - usernames or numeric user IDs. + logged in users, followed by the most + recent log data from the journal. This + function is intended to generate + human-readable output. If you are + looking for computer-parsable output, + use <command>show-user</command> + instead. Users may be specified by + their usernames or numeric user IDs. </para></listitem> </varlistentry> |