summaryrefslogtreecommitdiff
path: root/man/systemd-tmpfiles.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-06 18:28:39 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-06 18:28:39 +0100
commiteb9da376d76b48585b3b63b4f91903b54f7abd36 (patch)
treef58957844d6248d2df547727a4bfbd1b81c2ef97 /man/systemd-tmpfiles.xml
parent4087cb9e8fb90957d90d577e62e8ba056c2258cf (diff)
downloadsystemd-eb9da376d76b48585b3b63b4f91903b54f7abd36.tar.gz
clients: unify how we invoke getopt_long()
Among other things this makes sure we always expose a --version command and show it in the help texts.
Diffstat (limited to 'man/systemd-tmpfiles.xml')
-rw-r--r--man/systemd-tmpfiles.xml23
1 files changed, 14 insertions, 9 deletions
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml
index ba727e1854..b90bd757eb 100644
--- a/man/systemd-tmpfiles.xml
+++ b/man/systemd-tmpfiles.xml
@@ -91,6 +91,20 @@
<para>The following options are understood:</para>
<variablelist>
+ <varlistentry>
+ <term><option>-h</option></term>
+ <term><option>--help</option></term>
+
+ <listitem><para>Prints a short help
+ text and exits.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--version</option></term>
+
+ <listitem><para>Prints a short version
+ string and exits.</para></listitem>
+ </varlistentry>
<varlistentry>
<term><option>--create</option></term>
@@ -131,15 +145,6 @@
prefix. This option can be specified
multiple times.</para></listitem>
</varlistentry>
-
-
- <varlistentry>
- <term><option>--help</option></term>
-
- <listitem><para>Prints a short help
- text and exits.</para></listitem>
- </varlistentry>
-
</variablelist>
<para>It is possible to combine