Bug 17266 - Update man page for koha-remove with -p
authorMagnus Enger <magnus@libriotech.no>
Thu, 8 Sep 2016 13:10:33 +0000 (15:10 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 15 Sep 2016 13:46:10 +0000 (13:46 +0000)
Bug 9754 added the -p|--purge-all option to koha-remove, but this
was not documented in the man page. This patch fixes that.

To test:
Run these commands and look at the formatted man page:
$ xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
  debian/docs/koha-remove.xml
$ man -l koha-remove.8

Make sure this test passes:
$ prove -v xt/verify-debian-docbook.t

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
debian/docs/koha-remove.xml

index 69079be..2fc1970 100644 (file)
     <cmdsynopsis>
       <command>koha-remove</command>
       <arg><option>--keep-mysql</option></arg>
+      <arg><option>--purge-all</option></arg>
       <arg choice="req" rep="repeat"><replaceable>instancename</replaceable></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
   <refsect1><title>Options</title>
   <variablelist>
+
     <varlistentry>
       <term><option>--keep-mysql</option></term>
       <listitem>
         <para>Leave the MySQL database and user when removing the Koha instance.</para>
       </listitem>
     </varlistentry>
+
+    <varlistentry>
+      <term><option>--purge-all</option></term>
+      <listitem>
+        <para>Removes all instance files in /var/lib/koha and /var/spool/koha.</para>
+      </listitem>
+    </varlistentry>
+
   </variablelist>
   </refsect1>