Commit 705c1e8b authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[3742] Corrected kea-admin command line depictions in Kea Admin Reference

doc/guide/admin.xml
    Admin guide mistakenly showed -d for database-name, changed to show -n
parent 93ca5d78
...@@ -239,7 +239,7 @@ $ ...@@ -239,7 +239,7 @@ $
If you elected not to create the tables in step 4, you can do If you elected not to create the tables in step 4, you can do
so now by running the <command>kea-admin</command> tool: so now by running the <command>kea-admin</command> tool:
<screen> <screen>
$ <userinput>kea-admin lease-init mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -d <replaceable>database-name</replaceable></userinput> $ <userinput>kea-admin lease-init mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -n <replaceable>database-name</replaceable></userinput>
</screen> </screen>
(Do not do this if you did create the tables in step 4.) (Do not do this if you did create the tables in step 4.)
<command>kea-admin</command> implements rudimentary checks: <command>kea-admin</command> implements rudimentary checks:
...@@ -264,7 +264,7 @@ $ <userinput>kea-admin lease-init mysql -u <replaceable>database-user</replaceab ...@@ -264,7 +264,7 @@ $ <userinput>kea-admin lease-init mysql -u <replaceable>database-user</replaceab
<para> <para>
To check the current version of the database, use the following command: To check the current version of the database, use the following command:
<screen> <screen>
$ <userinput>kea-admin lease-version mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -d <replaceable>database-name</replaceable></userinput> $ <userinput>kea-admin lease-version mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -n <replaceable>database-name</replaceable></userinput>
</screen> </screen>
(See <xref linkend="kea-database-version"/> for a discussion (See <xref linkend="kea-database-version"/> for a discussion
about versioning.) If the version does not match the minimum about versioning.) If the version does not match the minimum
...@@ -279,7 +279,7 @@ $ <userinput>kea-admin lease-version mysql -u <replaceable>database-user</replac ...@@ -279,7 +279,7 @@ $ <userinput>kea-admin lease-version mysql -u <replaceable>database-user</replac
to subsequently downgrade to an earlier version. To perform to subsequently downgrade to an earlier version. To perform
an upgrade, issue the following command: an upgrade, issue the following command:
<screen> <screen>
$ <userinput>kea-admin lease-upgrade mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -d <replaceable>database-name</replaceable></userinput> $ <userinput>kea-admin lease-upgrade mysql -u <replaceable>database-user</replaceable> -p <replaceable>database-password</replaceable> -n <replaceable>database-name</replaceable></userinput>
</screen> </screen>
</para> </para>
</section> </section>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment