From patchwork Thu Jul 24 15:00:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Lekshmanan X-Patchwork-Id: 4618481 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 18361C0514 for ; Thu, 24 Jul 2014 15:01:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35193201D3 for ; Thu, 24 Jul 2014 15:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1634520172 for ; Thu, 24 Jul 2014 15:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759442AbaGXPBi (ORCPT ); Thu, 24 Jul 2014 11:01:38 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:50288 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759335AbaGXPBd (ORCPT ); Thu, 24 Jul 2014 11:01:33 -0400 Received: by mail-pd0-f171.google.com with SMTP id z10so3816410pdj.16 for ; Thu, 24 Jul 2014 08:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=UieMSNlUen3IuNhoBdfbRgRMFtTSJZIU4RwAvAxitPA=; b=NPOL5qyMAjPE/7tvCeMz3BCMm9P/yNBrKTksDk3vzz+zZR8VbDiW9UKOmMojUaq3Lh AzhxqKjjHJuLVj+bL96Vj7A6KllwgIOXXBxwqbIzUKFJXKU11qu6rA6SYDTukOeUxs5g xBfte8dimiVZkEIvthmZr8OmF8bVZdnLm9p/0quPf6GdlPORxhRFD7Xk5c3sK71x3QHG F3+uFrHxxBdrV2Etf3ZiGFyXUe4ONYIlwrAnU2WyTXjC2QHnZ8NkecOA9PzuAfGoXNxN hkdezE7kPR5SdjlYthhzSLziif3wh3piYK6eHxw5JR1jjspUoarwJn0PNsuLDXouFzi1 4ARg== X-Received: by 10.68.102.34 with SMTP id fl2mr11116386pbb.2.1406214093178; Thu, 24 Jul 2014 08:01:33 -0700 (PDT) Received: from localhost.localdomain ([49.32.0.91]) by mx.google.com with ESMTPSA id uj2sm21604517pab.14.2014.07.24.08.01.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jul 2014 08:01:32 -0700 (PDT) From: Abhishek Lekshmanan To: ceph-devel@vger.kernel.org Subject: [PATCH 2/3] rgw: list all available options during help() Date: Thu, 24 Jul 2014 20:30:42 +0530 Message-Id: <1406214043-23730-3-git-send-email-abhishek.lekshmanan@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406214043-23730-1-git-send-email-abhishek.lekshmanan@gmail.com> References: <1406214043-23730-1-git-send-email-abhishek.lekshmanan@gmail.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adding the available help arguments from the man page Fixes: #8112 Signed-off-by: Abhishek Lekshmanan --- src/rgw/rgw_main.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 51cfebe..29d6577 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -726,7 +726,13 @@ int usage() cerr << "options:\n"; cerr << " --rgw-region= region in which radosgw runs\n"; cerr << " --rgw-zone= zone in which radosgw runs\n"; + cerr << " --rgw-socket-path= specify a unix domain socket path\n"; generic_server_usage(); + cerr << " -m monaddress[:port] connect to specified monitor\n"; + cerr << " --keyring= path to radosgw keyring\n"; + cerr << " --logfile= file to log debug output\n"; + cerr << " --debug-rgw=/ Set radosgw debug level\n"; + return 0; }