From: Sam Lang Date: Wed, 8 Jun 2011 17:59:12 +0000 (-0500) Subject: Fix typo in usage output for --num-osds X-Git-Tag: v0.29.1~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfbcfd7c9e0429fb663a6ed7e91dbe6aaaf4e7d5;p=ceph.git 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 Signed-off-by: Sage Weil --- 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