From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932476AbbJMO5d (ORCPT ); Tue, 13 Oct 2015 10:57:33 -0400 Received: from mail.kernel.org ([198.145.29.136]:40085 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932218AbbJMO5c (ORCPT ); Tue, 13 Oct 2015 10:57:32 -0400 Date: Tue, 13 Oct 2015 11:57:28 -0300 From: Arnaldo Carvalho de Melo To: Ramkumar Ramachandra , Yunlong Song Cc: Sriram Raghunathan , a.p.zijlstra@chello.nl, Linux Kernel Mailing List Subject: Re: [PATCH 1/1] perf:Adding --list-opts to usage string Message-ID: <20151013145728.GT14409@kernel.org> References: <1444282190-13605-1-git-send-email-sriram.r@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444282190-13605-1-git-send-email-sriram.r@nokia.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Oct 08, 2015 at 10:59:50AM +0530, Sriram Raghunathan escreveu: > Minor change, adding --list-opts to usage string. So that it is > visible to the user on running perf --help. or just perf > from command line. Ramkumar, Yunlong, are you ok with this? - Arnaldo > Signed-off-by: Sriram Raghunathan > --- > tools/perf/perf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/perf.c b/tools/perf/perf.c > index 07dbff5..92b5007 100644 > --- a/tools/perf/perf.c > +++ b/tools/perf/perf.c > @@ -19,7 +19,7 @@ > #include > > const char perf_usage_string[] = > - "perf [--version] [--help] [OPTIONS] COMMAND [ARGS]"; > + "perf [--version] [--help] [--list-opts] [OPTIONS] COMMAND [ARGS]"; > > const char perf_more_info_string[] = > "See 'perf help COMMAND' for more information on a specific command."; > -- > 2.6.1