From: Jiaying Ren Date: Mon, 3 Jul 2017 15:39:10 +0000 (+0800) Subject: doc: fix rgw placment rule pool config option X-Git-Tag: v12.1.1~183^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3af3f4e84ca226f63f7491eb64195d07419a3e1e;p=ceph.git doc: fix rgw placment rule pool config option actually we're checking '--data-pool' and '--data-extra-pool' during the argument parsing. Signed-off-by: Jiaying Ren --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 5f097e4d9d5d..1be8c881dd62 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -253,8 +253,8 @@ void _usage() cout << " --tags-rm= list of tags to remove for zonegroup placement modify command\n"; cout << " --endpoints= zone endpoints\n"; cout << " --index_pool= placement target index pool\n"; - cout << " --data_pool= placement target data pool\n"; - cout << " --data_extra_pool= placement target data extra (non-ec) pool\n"; + cout << " --data-pool= placement target data pool\n"; + cout << " --data-extra-pool= placement target data extra (non-ec) pool\n"; cout << " --placement-index-type=\n"; cout << " placement target index type (normal, indexless, or #id)\n"; cout << " --compression= placement target compression type (plugin name or empty/none)\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index cf8a60119c24..d339b09480e5 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -197,8 +197,8 @@ --tags-rm= list of tags to remove for zonegroup placement modify command --endpoints= zone endpoints --index_pool= placement target index pool - --data_pool= placement target data pool - --data_extra_pool= placement target data extra (non-ec) pool + --data-pool= placement target data pool + --data-extra-pool= placement target data extra (non-ec) pool --placement-index-type= placement target index type (normal, indexless, or #id) --compression= placement target compression type (plugin name or empty/none)