Document NT services options (-install, -remove).
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 8 May 2008 18:16:08 +0000 (20:16 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 8 May 2008 18:16:08 +0000 (20:16 +0200)
doc/pazpar2.xml
src/pazpar2.c

index 48b2d4a..0ced8cd 100644 (file)
@@ -36,6 +36,8 @@
    <arg choice="opt"><option>-u <replaceable>uid</replaceable></option></arg>
    <arg choice="opt"><option>-V</option></arg>
    <arg choice="opt"><option>-X</option></arg>
+   <arg choice="opt"><option>-install</option></arg>
+   <arg choice="opt"><option>-remove</option></arg>
   </cmdsynopsis>
  </refsynopsisdiv>
  
     </listitem>
    </varlistentry>
 
+   <varlistentry>
+    <term><option>-install</option></term>
+    <listitem>
+     <para>
+       This is an option which is only recognized on Windows. It installs
+       Pazpar2 as a Windows Service.
+     </para>
+    </listitem>
+   </varlistentry>
+
+   <varlistentry>
+    <term><option>-install</option></term>
+    <listitem>
+     <para>
+       This is an option which is only recognized on Windows. It removes
+       a Pazpar2 - Windows Service.
+     </para>
+    </listitem>
+   </varlistentry>
+
   </variablelist>
   
  </refsect1>
index d0ff570..a570d1b 100644 (file)
@@ -162,6 +162,10 @@ static int sc_main(
                     "    -u uid\n"
                     "    -V                      show version\n"
                     "    -X                      debug mode\n"
+#ifdef WIN32
+                    "    -install                install windows service\n"
+                    "    -remove                 remove windows service\n"
+#endif
                 );
             return 1;
        }