From patchwork Wed Aug 4 08:48:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takuya ASADA X-Patchwork-Id: 116978 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o748mef6027509 for ; Wed, 4 Aug 2010 08:48:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756262Ab0HDIsj (ORCPT ); Wed, 4 Aug 2010 04:48:39 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:36563 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754207Ab0HDIsi (ORCPT ); Wed, 4 Aug 2010 04:48:38 -0400 Received: by wwj40 with SMTP id 40so6180545wwj.1 for ; Wed, 04 Aug 2010 01:48:37 -0700 (PDT) Received: by 10.227.155.82 with SMTP id r18mr7592831wbw.70.1280911717256; Wed, 04 Aug 2010 01:48:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.128.141 with HTTP; Wed, 4 Aug 2010 01:48:17 -0700 (PDT) From: Takuya ASADA Date: Wed, 4 Aug 2010 17:48:17 +0900 Message-ID: Subject: usage message of rados is wrong To: ceph-devel@vger.kernel.org Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 04 Aug 2010 08:48:40 +0000 (UTC) diff --git a/src/rados.cc b/src/rados.cc index 268f14f..57deec6 100644 --- a/src/rados.cc +++ b/src/rados.cc @@ -44,8 +44,8 @@ void usage() cerr << " df -- show per-pool and total usage\n\n"; cerr << "Pool commands:\n"; - cerr << " get objname -- fetch object\n"; - cerr << " put objname -- write object\n"; + cerr << " get objname [outfile] -- fetch object\n"; + cerr << " put objname [infile] -- write object\n"; cerr << " rm objname -- remove object\n"; cerr << " ls -- list objects in pool\n\n"; cerr << " chown 123 -- change the pool owner to auid 123\n"; @@ -69,9 +69,6 @@ void usage() cerr << " -s name\n"; cerr << " --snap name\n"; cerr << " select given snap name for (read) IO\n"; - cerr << " -i infile\n"; - cerr << " -o outfile\n"; - cerr << " specify input or output file (for certain commands)\n"; exit(1); } -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in