Bug 17429: document the --plack/--noplack options of koha-list

The man page of koha-list does not list the --plack and --noplack
options.

This patch fixes that.

Test plan:

1) View the current man page for `koha-list` (with `man koha-list`)
   and notice how the --plack and --noplack options are missing.

2) Apply this patch.

3) Run the following command to re-generate the man page:

   xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
   debian/docs/koha-list.xml

   View the manual page again (with `man -l koha-list.8`), the
   two options are now displayed under SYNOPSIS and OPTIONS.

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

Signed-off-by: Mazen Khallaf <mazen.i.khallaf@gamil.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Andreas Roussos 2020-12-29 10:41:38 +01:00 committed by Jonathan Druart
parent cb95c91403
commit 920d3efcdf
1 changed files with 13 additions and 0 deletions

View File

@ -27,6 +27,7 @@
<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>--plack</option>|<option>--noplack</option></arg>
<arg><option>-h</option>|<option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@ -70,6 +71,18 @@
<para>Only show instances that do not have SIP enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--plack</option></term>
<listitem>
<para>Only show instances that have Plack enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--noplack</option></term>
<listitem>
<para>Only show instances that do not have Plack enabled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-h</option>|<option>--help</option></term>