From 2c0b844053694b9299ec096d14acd98aea67e3c9 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 15 Apr 2011 15:54:12 -0700 Subject: [PATCH] man: Update cmds documentation. You always need to specify a rank if you do journal-check. Signed-off-by: Greg Farnum --- man/cmds.8 | 2 +- src/cmds.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/cmds.8 b/man/cmds.8 index fa793d9ca01..25822e1a3b0 100644 --- a/man/cmds.8 +++ b/man/cmds.8 @@ -4,7 +4,7 @@ cmds \- ceph metadata server daemon .SH SYNOPSIS .B cmds \fB\-i \fIname\fR -[[ \fB\-\-hot-standby\fI [rank]\fR ]|[\fB\-\-journal_check\fI [rank]\fR]] +[[ \fB\-\-hot-standby\fI [rank]\fR ]|[\fB\-\-journal_check\fI rank\fR]] .SH DESCRIPTION .B cmds diff --git a/src/cmds.cc b/src/cmds.cc index 47f1a05519b..5bd572d31c9 100644 --- a/src/cmds.cc +++ b/src/cmds.cc @@ -40,7 +40,7 @@ using namespace std; void usage() { - derr << "usage: cmds -i name [flags] [[--journal_check]|[--hot-standby][rank]]\n" + derr << "usage: cmds -i name [flags] [[--journal_check rank]|[--hot-standby][rank]]\n" << " -m monitorip:port\n" << " connect to monitor at given address\n" << " --debug_mds n\n"