From: Kefu Chai Date: Tue, 18 Sep 2018 03:32:13 +0000 (+0800) Subject: tools,test: fix typos in comments and usage message X-Git-Tag: v14.0.1~213^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=98b7e6b896176b6252f2c0b5ae70efe63c803beb;p=ceph-ci.git tools,test: fix typos in comments and usage message Signed-off-by: Kefu Chai --- diff --git a/src/test/cli/crushtool/help.t b/src/test/cli/crushtool/help.t index 389b0614551..3db3c25d523 100755 --- a/src/test/cli/crushtool/help.t +++ b/src/test/cli/crushtool/help.t @@ -58,7 +58,7 @@ reweight a given item (and adjust ancestor weights as needed) -i mapfn --add-bucket name type [--loc type name ...] - insert a bucket into the hierachy at the given + insert a bucket into the hierarchy at the given location -i mapfn --move name --loc type name ... move the given item to specified location diff --git a/src/test/test_unfound.sh b/src/test/test_unfound.sh index 948a21e241b..36a85aea052 100755 --- a/src/test/test_unfound.sh +++ b/src/test/test_unfound.sh @@ -107,7 +107,7 @@ stray_test_impl() { [ $? -eq 1 ] || die "Failed to see unfound objects." # - # Now, when we bring up osd2, it wil be considered a stray. However, it + # Now, when we bring up osd2, it will be considered a stray. However, it # has the version that we need-- the very latest version of the # objects. # diff --git a/src/tools/crushtool.cc b/src/tools/crushtool.cc index ce83562c3c3..7006bbf9efa 100644 --- a/src/tools/crushtool.cc +++ b/src/tools/crushtool.cc @@ -166,7 +166,7 @@ void usage() cout << " reweight a given item (and adjust ancestor\n" << " weights as needed)\n"; cout << " -i mapfn --add-bucket name type [--loc type name ...]\n" - << " insert a bucket into the hierachy at the given\n" + << " insert a bucket into the hierarchy at the given\n" << " location\n"; cout << " -i mapfn --move name --loc type name ...\n" << " move the given item to specified location\n";