summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-12-17 11:14:44 -0800
committerSage Weil <sage@inktank.com>2012-12-17 11:14:44 -0800
commit3c246226a5e6ba86cbb223758b8dc3197039a329 (patch)
tree234429e594ba17ab4162e15c01d9f4cdbc7a38d4
parent4bf9078286d58c2cd4e85cb8b31411220a377092 (diff)
downloadceph-3c246226a5e6ba86cbb223758b8dc3197039a329.tar.gz
crushtool: add --set-chooseleaf-descend-once to help
We forgot to update this in 88f218181a9e6d2292e2697fc93797d0f6d6e5dc. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/crushtool.cc2
-rw-r--r--src/test/cli/crushtool/help.t2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/crushtool.cc b/src/crushtool.cc
index 0f54852f049..c5e69cd7bd8 100644
--- a/src/crushtool.cc
+++ b/src/crushtool.cc
@@ -128,6 +128,8 @@ void usage()
cout << " permutation before re-descent\n";
cout << " --set-choose-total-tries N\n";
cout << " set choose total descent attempts\n";
+ cout << " --set-chooseleaf-descend-once <0|1>\n";
+ cout << " set chooseleaf to (not) retry the recursive descent\n";
cout << " --output-name name\n";
cout << " prepend the data file(s) generated during the\n";
cout << " testing routine with name\n";
diff --git a/src/test/cli/crushtool/help.t b/src/test/cli/crushtool/help.t
index 8f2f52c100a..e9586fd14ca 100644
--- a/src/test/cli/crushtool/help.t
+++ b/src/test/cli/crushtool/help.t
@@ -42,6 +42,8 @@
permutation before re-descent
--set-choose-total-tries N
set choose total descent attempts
+ --set-chooseleaf-descend-once <0|1>
+ set chooseleaf to (not) retry the recursive descent
--output-name name
prepend the data file(s) generated during the
testing routine with name