From: Andrei Pavel Date: Fri, 2 Apr 2021 12:53:14 +0000 (+0300) Subject: [#1675] update kea-admin manual X-Git-Tag: Kea-1.9.7~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc099c9b1a310183f82303f07a76df03a5bf5fc3;p=thirdparty%2Fkea.git [#1675] update kea-admin manual --- diff --git a/doc/sphinx/man/kea-admin.8.rst b/doc/sphinx/man/kea-admin.8.rst index f93b4ee7f9..2e615c1b6a 100644 --- a/doc/sphinx/man/kea-admin.8.rst +++ b/doc/sphinx/man/kea-admin.8.rst @@ -1,5 +1,5 @@ .. - Copyright (C) 2019-2020 Internet Systems Consortium, Inc. ("ISC") + Copyright (C) 2019-2021 Internet Systems Consortium, Inc. ("ISC") This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this @@ -15,7 +15,7 @@ kea-admin - Shell script for managing Kea databases Synopsis ~~~~~~~~ -:program:`kea-admin` [command] [backend] [**-u** database username] [**-p** database password] [**-n** database name] [**-d** scripts directory] [**-4** | **-6**] [**-o** output file] [**-v**] +:program:`kea-admin` [command] [backend] [**-h** database_host] [**-P** database_port] [**-u** database_username] [**-p** [database_password]] [**-n** database_name] [**-d** script_directory] [**-v**] [**-4** | **-6**] [**-o** output_file] Description ~~~~~~~~~~~ @@ -55,15 +55,24 @@ Arguments ``backend`` Specifies the backend type. Currently allowed backends are: memfile, - mysql, and pgsql. + mysql, pgsql, and cql. + +``-h|--host hostname`` + Specifies the hostname when connecting to a database. If not specified, + the default value of **localhost** is used. + +``-P|--port port`` + Specifies the port when connecting to a database. If not specified, + the default value chosen by the database client is used. ``-u|--user username`` Specifies the username when connecting to a database. If not specified, the default value of **keatest** is used. ``-p|--password password`` - Specifies the password when connecting to a database. If not - specified, the default value of **keatest** is used. + Specifies the password when connecting to a database. + If only ``-p`` or ``--password`` is given, the user is prompted for a password. + If not specified at all, the default value of **keatest** is used. ``-n|--name database-name`` Specifies the name of the database to connect to. If not specified, the