summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mon/MonCommands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h
index 365fd28b64e..482ea91ea02 100644
--- a/src/mon/MonCommands.h
+++ b/src/mon/MonCommands.h
@@ -290,7 +290,7 @@ COMMAND("mds newfs " \
* Monmap commands
*/
COMMAND("mon dump " \
- "name=epoch,type=CephInt,req=false", \
+ "name=epoch,type=CephInt,range=0,req=false", \
"dump formatted monmap (optionally from epoch)", \
"mon", "r", "cli,rest")
COMMAND("mon stat", "summarize monitor status", "mon", "r", "cli,rest")