Bug 17267 - Document koha-create --adminuser
A description of --adminuser was missing from debian/docs/koha-create.xml This patch adds a description in the Options section, as well as under DEFAULTSQL in the list of configuration variables. 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-create.xml $ man -l koha-create.8 Make sure this test passes: $ prove -v xt/verify-debian-docbook.t Signed-off-by: Liz Rea <liz@catalyst.net.nz> Edited commit message to fix typo - koha-mysql -> koha-create as that's what we're testing. :) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
6ca6fb45b6
commit
f31d3175b3
|
|
@ -99,6 +99,13 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--adminuser</option></term>
|
||||
<listitem>
|
||||
<para>Specify the borrowernumber of the user that should have a new, random password set as part of setting up the new instance. The password will be reported as part of the output of the current script. If --adminuser is not specified, the user with borrowernumber = 1 will be updated. If an SQL file is not used to populate the database of the newly created instance, no admin user will be created.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--marcflavor</option></term>
|
||||
<listitem>
|
||||
|
|
@ -258,6 +265,7 @@
|
|||
<term><option>DEFAULTSQL</option></term>
|
||||
<listitem>
|
||||
<para>An SQL file (compressed with gzip) that can be fed to mysql(1) to initialize the database after it has been created. Might be created using koha-dump-defaults(8).</para>
|
||||
<para>If the SQL file contains users, the user with borrowernumber = 1 will have a new, random password set. This password will be reported in the output of the script. If another user than borrowernumber 1 should have its password set, the borrowernumber of this user can be set with the --adminuser command line option.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue