[pulseaudio-discuss] [PATCH] pacmd: Added --help and --version descriptions to the man page.

poljar poljarinho at gmail.com
Sun May 6 07:10:51 PDT 2012


The pacmd man page should show the available options. A simple
description for the --version and --help option was added.
---
 man/pacmd.1.xml.in |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/man/pacmd.1.xml.in b/man/pacmd.1.xml.in
index 079eb61..17ed828 100644
--- a/man/pacmd.1.xml.in
+++ b/man/pacmd.1.xml.in
@@ -25,6 +25,8 @@ USA.
 
   <synopsis>
     <cmd>pacmd</cmd>
+    <cmd>pacat <opt>--help</opt></cmd>
+    <cmd>pacat <opt>--version</opt></cmd>
   </synopsis>
 
   <description>
@@ -40,6 +42,22 @@ USA.
     <p>If any arguments are passed on the command line, they will be
     passed into the live shell which will process the command and exit.</p>
   </description>
+  
+  <options>
+
+    <option>
+      <p><opt>-h | --help</opt></p>
+
+      <optdesc><p>Show help.</p></optdesc>
+    </option>
+
+    <option>
+      <p><opt>--version</opt></p>
+
+      <optdesc><p>Show version information.</p></optdesc>
+    </option>
+
+  </options>
 
   <section name="Authors">
     <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
-- 
1.7.10.1



More information about the pulseaudio-discuss mailing list