From: Casey Bodley Date: Wed, 30 Nov 2016 18:08:38 +0000 (-0500) Subject: radosgw-admin: fix 'placment' typos X-Git-Tag: v10.2.6~60^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dbc1b614add263fe80ef6fc0c09c0597fb9cddff;p=ceph.git radosgw-admin: fix 'placment' typos Fixes: http://tracker.ceph.com/issues/18078 Signed-off-by: Casey Bodley (cherry picked from commit 0cf08985683820cd11492a9ad684d06565a04f34) --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 996783a7ec46..377d675522a5 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -106,7 +106,7 @@ void _usage() cout << " zonegroup rename rename a zone group\n"; cout << " zonegroup list list all zone groups set on this cluster\n"; cout << " zonegroup placement list list zonegroup's placement targets\n"; - cout << " zonegroup placement add add a placment target id to a zonegroup\n"; + cout << " zonegroup placement add add a placement target id to a zonegroup\n"; cout << " zonegroup placement modify modify a placement target of a specific zonegroup\n"; cout << " zonegroup placement rm remove a placement target from a zonegroup\n"; cout << " zonegroup-map get show zonegroup-map\n"; @@ -214,9 +214,9 @@ void _usage() cout << " --tags-add= list of tags to add for zonegroup placement modify command\n"; cout << " --tags-rm= list of tags to remove for zonegroup placement modify command\n"; cout << " --endpoints= zone endpoints\n"; - cout << " --index_pool= placment target index pool\n"; - cout << " --data_pool= placment target data pool\n"; - cout << " --data_extra_pool= placment target data extra (non-ec) pool\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 << " --placement-index-type=\n"; cout << " placement target index type (normal, indexless, or #id)\n"; cout << " --fix besides checking bucket index, will also fix it\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index b2068bcf3047..82ec467cc9fc 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -58,7 +58,7 @@ zonegroup rename rename a zone group zonegroup list list all zone groups set on this cluster zonegroup placement list list zonegroup's placement targets - zonegroup placement add add a placment target id to a zonegroup + zonegroup placement add add a placement target id to a zonegroup zonegroup placement modify modify a placement target of a specific zonegroup zonegroup placement rm remove a placement target from a zonegroup zonegroup-map get show zonegroup-map @@ -166,9 +166,9 @@ --tags-add= list of tags to add for zonegroup placement modify command --tags-rm= list of tags to remove for zonegroup placement modify command --endpoints= zone endpoints - --index_pool= placment target index pool - --data_pool= placment target data pool - --data_extra_pool= placment target data extra (non-ec) pool + --index_pool= placement target index 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) --fix besides checking bucket index, will also fix it