From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753779AbbJNNdS (ORCPT ); Wed, 14 Oct 2015 09:33:18 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:19593 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293AbbJNNdP (ORCPT ); Wed, 14 Oct 2015 09:33:15 -0400 Message-ID: <561E5939.90605@huawei.com> Date: Wed, 14 Oct 2015 21:31:37 +0800 From: Yunlong Song User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: Ramkumar Ramachandra , Sriram Raghunathan , Peter Zijlstra , Adrian Hunter , Jiri Olsa , Namhyung Kim , David Ahern , "Linux Kernel Mailing List" , Wang Nan , Ingo Molnar Subject: Re: [PATCH 1/1] perf:Adding --list-opts to usage string References: <1444282190-13605-1-git-send-email-sriram.r@nokia.com> <20151013145728.GT14409@kernel.org> <561DBDF1.1020503@huawei.com> <20151014031043.GA3775@kernel.org> In-Reply-To: <20151014031043.GA3775@kernel.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.74.205] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/10/14 11:10, Arnaldo Carvalho de Melo wrote: > One doesn't show what options can be used, the other does, so there is > an inconsistency, this and the fact that 'perf -h' outputs to stdout, > 'perf stat -h' and the other builtins output to stderr. I think all > should output to stdout, just like 'ls --help', what do you think? > > - Arnaldo > I think the reason that options do not show in 'perf -h' but show in other builtins is not the different use of stdout or stderr. I will send a patch to fix this instead. -- Thanks, Yunlong Song