diff options
author | Sam Lang <samlang@gmail.com> | 2011-06-08 19:59:12 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-06-08 20:27:33 +0200 |
commit | cfbcfd7c9e0429fb663a6ed7e91dbe6aaaf4e7d5 (patch) | |
tree | c173adeb51245d4d8688a5c31010369e4aa6210c | |
parent | Fix segfault caused by invalid argument string. (diff) | |
download | ceph-cfbcfd7c9e0429fb663a6ed7e91dbe6aaaf4e7d5.tar.xz ceph-cfbcfd7c9e0429fb663a6ed7e91dbe6aaaf4e7d5.zip |
Fix typo in usage output for --num-osds
This patch fixes the typo in the usage description to match the actual argument string.
Signed-off-by: Sam Lang <samlang@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r-- | src/crushtool.cc | 2 | ||||
-rw-r--r-- | src/test/cli/crushtool/help.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crushtool.cc b/src/crushtool.cc index 6c48f290286..057c0f8f870 100644 --- a/src/crushtool.cc +++ b/src/crushtool.cc @@ -755,7 +755,7 @@ void usage() cout << " --compile|-c map.txt compile a map from source\n"; cout << " [-o outfile [--clobber]]\n"; cout << " specify output for for (de)compilation\n"; - cout << " --build --num_osd N layer1 ...\n"; + cout << " --build --num_osds N layer1 ...\n"; cout << " build a new map, where each 'layer' is\n"; cout << " 'name (uniform|straw|list|tree) size'\n"; cout << " -i mapfn --test test a range of inputs on the map\n"; diff --git a/src/test/cli/crushtool/help.t b/src/test/cli/crushtool/help.t index 9acc868c7cf..7f91c1cbc3d 100644 --- a/src/test/cli/crushtool/help.t +++ b/src/test/cli/crushtool/help.t @@ -5,7 +5,7 @@ --compile|-c map.txt compile a map from source [-o outfile [--clobber]] specify output for for (de)compilation - --build --num_osd N layer1 ... + --build --num_osds N layer1 ... build a new map, where each 'layer' is 'name (uniform|straw|list|tree) size' -i mapfn --test test a range of inputs on the map |