From patchwork Thu Aug 16 10:56:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Danny Kukawka X-Patchwork-Id: 1330751 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C41363FC33 for ; Thu, 16 Aug 2012 10:56:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755341Ab2HPK4f (ORCPT ); Thu, 16 Aug 2012 06:56:35 -0400 Received: from wp188.webpack.hosteurope.de ([80.237.132.195]:51493 "EHLO wp188.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755254Ab2HPK4e (ORCPT ); Thu, 16 Aug 2012 06:56:34 -0400 Received: from nat.nue.novell.com ([195.135.221.2] helo=darkangel.suse.de); authenticated by wp188.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1T1xke-0001TR-SH; Thu, 16 Aug 2012 12:56:32 +0200 From: Danny Kukawka To: ceph-devel@vger.kernel.org Cc: Danny Kukawka Subject: =?UTF-8?q?=5BPATCH=5D=20fix=20ceph=20osd=20create=20help?= Date: Thu, 16 Aug 2012 12:56:32 +0200 Message-Id: <1345114592-3395-1-git-send-email-danny.kukawka@bisect.de> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de; danny.kukawka@bisect.de; 1345114594; 46424807; Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org 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 Dateien geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) diff --git a/doc/control.rst b/doc/control.rst index 677ab78..19c976e 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 16667a5..47e5b38 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 caa338c..b82be10 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";