Bug 10622 - [SIGNED OFF] Followup: Add --sip, --nosip and --help to man page

The original patch for bug 10622 added the --sip, --nosip and
--help switches to the koha-list command, but did not update the
manpage for the command. This patch does.

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-list.xml
$ man -l koha-list.8

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Forgot the docs this time, good catch Magnus

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 46574c9160)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Magnus Enger 2013-08-09 10:05:23 +02:00 committed by Tomas Cohen Arazi
parent b1c1cb4480
commit 8e809ce4a0
1 changed files with 21 additions and 4 deletions

View File

@ -17,13 +17,17 @@
<refnamediv>
<refname>koha-list</refname>
<refpurpose>Lists Koha instances, optionally only those that are enabled or have email turned on.</refpurpose>
<refpurpose>Lists Koha instances, and optionally only those that are enabled/disabled or have email and/or sip turned on/off.</refpurpose>
<refclass>UNIX/Linux</refclass>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>koha-list</command> <arg><option>--enabled</option>|<option>--disabled</option></arg> <arg><option>--email</option>|<option>--noemail</option></arg> <arg><option>-h</option></arg>
<command>koha-list</command>
<arg><option>--enabled</option>|<option>--disabled</option></arg>
<arg><option>--email</option>|<option>--noemail</option></arg>
<arg><option>--sip</option>|<option>--nosip</option></arg>
<arg><option>-h</option>|<option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@ -55,7 +59,20 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option></term>
<term><option>--sip</option></term>
<listitem>
<para>Only show instances that have sip enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--nosip</option></term>
<listitem>
<para>Only show instances that do not have sip enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option>|<option>--help</option></term>
<listitem>
<para>This help.</para>
</listitem>
@ -64,7 +81,7 @@
</refsect1>
<refsect1><title>Description</title>
<para>Lists Koha instances, optionally only those that are enabled or have email turned on.</para>
<para>This script lists Koha instances on a server. Optionally only those that are enabled or disabled can be listed. There are also options for listing only servers that have email or sip enabled/disabled. These limits can be applied alone or in combination.</para>
</refsect1>
<refsect1><title>See also</title>