summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-06-17 16:39:30 -0700
committerSage Weil <sage@inktank.com>2013-06-17 16:39:30 -0700
commit92997a49bf0e58e207193850b94da3f7147f331a (patch)
treeedbfe7c6db9c5af51eb06f00c6d490aaa951a5cf
parent910af074fc4da6ecf3a59e8049257e6d4db6be3e (diff)
downloadceph-92997a49bf0e58e207193850b94da3f7147f331a.tar.gz
mon: fix 'osd dump <epoch>'
The optional epoch argument was missing from the command spec. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r--src/mon/MonCommands.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h
index 2c805362255..5e6f9d49198 100644
--- a/src/mon/MonCommands.h
+++ b/src/mon/MonCommands.h
@@ -272,7 +272,9 @@ COMMAND("mon remove " \
* OSD commands
*/
COMMAND("osd stat", "print summary of OSD map")
-COMMAND("osd dump", "print summary of OSD map")
+COMMAND("osd dump " \
+ "name=epoch,type=CephInt,range=0,req=false",
+ "print summary of OSD map")
COMMAND("osd tree " \
"name=epoch,type=CephInt,range=0,req=false", \
"print OSD tree")