From: Andrei Pavel Date: Thu, 26 May 2022 06:06:00 +0000 (+0300) Subject: [#2426] add -y to kea-admin manual X-Git-Tag: Kea-2.1.7~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=421c6b1054d77950b913e54372997ad113e2ee13;p=thirdparty%2Fkea.git [#2426] add -y to kea-admin manual --- diff --git a/doc/sphinx/man/kea-admin.8.rst b/doc/sphinx/man/kea-admin.8.rst index f5e2854be1..9de0a0f00d 100644 --- a/doc/sphinx/man/kea-admin.8.rst +++ b/doc/sphinx/man/kea-admin.8.rst @@ -18,8 +18,8 @@ Synopsis :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] [**-x** extra_argument -[**-x** extra_argument ...]] +[**-v**] [**-x** extra_argument [**-x** extra_argument ...]] +[**-4** | **-6**] [**-i** input_file] [**-o** output_file] [**-y**] Description ~~~~~~~~~~~ @@ -117,6 +117,9 @@ Arguments to pass more than one argument. Quotes are not preserved. Avoid commands containing spaces. +``-y|--yes`` + Assume yes on overwriting temporary files. + Documentation ~~~~~~~~~~~~~ diff --git a/src/bin/admin/kea-admin.in b/src/bin/admin/kea-admin.in index 7e4388b2ab..b68baa81fb 100644 --- a/src/bin/admin/kea-admin.in +++ b/src/bin/admin/kea-admin.in @@ -96,13 +96,13 @@ PARAMETERS: Parameters are optional in general, but may be required -d or --directory - path to upgrade scripts (default: %s) -v or --version - print kea-admin version and quit. -x or --extra - specifies extra argument(s) to pass to the database command - -y or --yes - assume yes on overwriting temporary files Parameters specific to lease-dump, lease-upload: -4 to dump IPv4 leases to file -6 to dump IPv6 leases to file -i or --input to specify the name of file from which leases will be uploaded - -o or --output to specify the name of file to which leases will be dumped + -o or --output to specify the name of file to which leases will be dumped + -y or --yes - assume yes on overwriting temporary files ' "${VERSION}" "${0}" "${SCRIPTS_DIR_DEFAULT}" }