From 36e7b077a77fa0a6c87289f400391c85dcdb1d42 Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Thu, 16 Aug 2012 12:56:32 +0200 Subject: [PATCH] fix ceph osd create help [ The following text is in the "UTF-8" character set. ] [ Your display is set for the "ANSI_X3.4-1968" character set. ] [ Some characters may be displayed incorrectly. ] Change ceph osd create to ceph osd create , since this is what the command is really doing. Signed-off-by: Danny Kukawka --- doc/control.rst | 4 ++-- src/test/cli/ceph/help.t | 2 +- src/tools/ceph.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/control.rst b/doc/control.rst index 677ab78b86e..19c976e995a 100644 --- a/doc/control.rst +++ b/doc/control.rst @@ -142,9 +142,9 @@ Create a cluster snapshot. :: Mark an OSD as lost. This may result in permanent data loss. Use with caution. :: - $ ceph osd create [] + $ ceph osd create [] -Create a new OSD. If no ID is given, a new ID is automatically selected +Create a new OSD. If no UUID is given, a new UUID is automatically selected if possible. :: $ ceph osd rm [...] diff --git a/src/test/cli/ceph/help.t b/src/test/cli/ceph/help.t index 16667a5ad91..47e5b385008 100644 --- a/src/test/cli/ceph/help.t +++ b/src/test/cli/ceph/help.t @@ -43,7 +43,7 @@ ceph osd crush set [ [ ...]] ceph osd crush move [ ...] ceph osd crush reweight - ceph osd create [] + ceph osd create [] ceph osd rm [...] ceph osd lost [--yes-i-really-mean-it] ceph osd reweight diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index caa338cf69c..b82be10b9bf 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -86,7 +86,7 @@ static void usage() cout << " ceph osd crush set [ [ ...]]\n"; cout << " ceph osd crush move [ ...]\n"; cout << " ceph osd crush reweight \n"; - cout << " ceph osd create []\n"; + cout << " ceph osd create []\n"; cout << " ceph osd rm [...]\n"; cout << " ceph osd lost [--yes-i-really-mean-it]\n"; cout << " ceph osd reweight \n";