summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-08 18:07:25 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-08 23:13:45 +0100
commit17cd091332040b9a3658db9374440fce7805ca54 (patch)
treec092fa140dff48d6e1dd872eec50f2317ef87b5b
parent079dac08c6a2725ce6e5ed2afa3f03d057c999c6 (diff)
man: add the same command sections to the man page as the --help text shows
-rw-r--r--man/loginctl.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/man/loginctl.xml b/man/loginctl.xml
index 5ff9f75059..7a6cc156d3 100644
--- a/man/loginctl.xml
+++ b/man/loginctl.xml
@@ -193,10 +193,15 @@
<xi:include href="standard-options.xml" xpointer="version" />
<xi:include href="standard-options.xml" xpointer="no-pager" />
</variablelist>
+ </refsect1>
+
+ <refsect1>
+ <title>Commands</title>
<para>The following commands are understood:</para>
- <variablelist>
+ <refsect2><title>Session Commands</title><variablelist>
+
<varlistentry>
<term><command>list-sessions</command></term>
@@ -291,7 +296,9 @@
<option>--signal=</option> to select
the signal to send.</para></listitem>
</varlistentry>
+ </variablelist></refsect2>
+ <refsect2><title>User Commands</title><variablelist>
<varlistentry>
<term><command>list-users</command></term>
@@ -371,7 +378,9 @@
<option>--signal=</option> to select
the signal to send.</para></listitem>
</varlistentry>
+ </variablelist></refsect2>
+ <refsect2><title>Seat Commands</title><variablelist>
<varlistentry>
<term><command>list-seats</command></term>
@@ -458,7 +467,7 @@
and deallocates all runtime resources
attached to them.</para></listitem>
</varlistentry>
- </variablelist>
+ </variablelist></refsect2>
</refsect1>