gtk-launch: Add --version

Support --version. Also improve the --help output cosmetically.
This commit is contained in:
Matthias Clasen
2016-01-31 12:05:35 -05:00
parent 836bd65408
commit bc882a679d
2 changed files with 27 additions and 11 deletions

View File

@ -31,7 +31,8 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>gtk-launch</command>
<arg>APPLICATION</arg>
<arg choice="opt" rep="repeat">OPTION</arg>
<arg choice="plain">APPLICATION</arg>
<arg choice="opt" rep="repeat">URI</arg>
</cmdsynopsis>
</refsynopsisdiv>
@ -62,6 +63,12 @@ application.
<listitem><para>Prints a short help text and exits.</para></listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term><option>--version</option></term>
<listitem><para>Prints the program version and exits.</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>