From 2d56cd42aa836c5302a08f74eb949b51ec2b6f1c Mon Sep 17 00:00:00 2001
From: Hirotaka Wakabayashi <hiwkby@yahoo.com>
Date: Mon, 4 Apr 2022 21:43:25 +0900
Subject: [PATCH] Fixes the wrong instruction

This PR changes the "configuration" command parameter name from
"datastore_version" to datastore-version. The parameter name has
changed from "datastore_version" to "datastore-version"[1].

The original problem is what I got an error when I try to create
a configuration: "openstack database configuration create: error:
unrecognized arguments: --datastore_version ..."

[1]: https://github.com/openstack/python-troveclient/commit/a57568397e58cd40269a48b777bd41cc1a1416e8

Story: 2009960
Task: 44928
Change-Id: I94e02cfd4026c56a05b3acccc3a5327b54e6b585
---
 doc/source/user/manage-db-config.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/user/manage-db-config.rst b/doc/source/user/manage-db-config.rst
index ac38a8f61f..cc18a2bf6a 100644
--- a/doc/source/user/manage-db-config.rst
+++ b/doc/source/user/manage-db-config.rst
@@ -114,7 +114,7 @@ Bulk-configure a database or databases
 
    .. code-block:: console
 
-      $ openstack database configuration create group1 '{"sync_binlog" : 1}' --datastore mysql --datastore_version mysql-5.5
+      $ openstack database configuration create group1 '{"sync_binlog" : 1}' --datastore mysql --datastore-version mysql-5.5
       +----------------------+--------------------------------------+
       |       Property       |                Value                 |
       +----------------------+--------------------------------------+