summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-02-04 20:40:12 -0800
committerDan Mick <dan.mick@inktank.com>2013-02-07 13:06:53 -0800
commitc44846e035916ff0c5eaea94cf595fbe24bd26ea (patch)
tree4a8b56005c38de3be730072a421d23cb74a366d2
parenteb9d6cac0ded5c713272eb3702f226356829915f (diff)
downloadceph-c44846e035916ff0c5eaea94cf595fbe24bd26ea.tar.gz
ceph: ceph mon delete doesn't exist; ceph mon remove is the command
Fix up cli test as well (doc is already correct) Signed-off-by: Dan Mick <dan.mick@inktank.com>
-rw-r--r--src/test/cli/ceph/help.t2
-rw-r--r--src/tools/ceph.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/cli/ceph/help.t b/src/test/cli/ceph/help.t
index 9a035c6e7e4..eac011dc814 100644
--- a/src/test/cli/ceph/help.t
+++ b/src/test/cli/ceph/help.t
@@ -23,7 +23,7 @@
MONITOR (MON) COMMANDS
ceph mon add <name> <ip>[:<port>]
- ceph mon delete <name>
+ ceph mon remove <name>
ceph mon stat
ceph mon tell <mon-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'
diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc
index e791a0a748d..a1f8024cfe3 100644
--- a/src/tools/ceph.cc
+++ b/src/tools/ceph.cc
@@ -66,7 +66,7 @@ static void usage()
cout << "\n";
cout << "MONITOR (MON) COMMANDS\n";
cout << " ceph mon add <name> <ip>[:<port>]\n";
- cout << " ceph mon delete <name>\n";
+ cout << " ceph mon remove <name>\n";
cout << " ceph mon stat\n";
cout << " ceph mon tell <mon-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'\n";
cout << "\n";