From 98b7e6b896176b6252f2c0b5ae70efe63c803beb Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 18 Sep 2018 11:32:13 +0800 Subject: [PATCH] tools,test: fix typos in comments and usage message Signed-off-by: Kefu Chai --- src/test/cli/crushtool/help.t | 2 +- src/test/test_unfound.sh | 2 +- src/tools/crushtool.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/cli/crushtool/help.t b/src/test/cli/crushtool/help.t index 389b0614551f4..3db3c25d52334 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 948a21e241b2b..36a85aea0525c 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 ce83562c3c34c..7006bbf9efa0e 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"; -- 2.39.5