Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761AbbBOKDU (ORCPT ); Sun, 15 Feb 2015 05:03:20 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:15024 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754206AbbBOKDT (ORCPT ); Sun, 15 Feb 2015 05:03:19 -0500 Message-ID: <54E06E92.9090109@huawei.com> Date: Sun, 15 Feb 2015 18:01:54 +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: , , , , Subject: Re: [PATCH 5/7] perf list: avoid confusion of perf output and the next command prompt References: <1423833115-11199-1-git-send-email-yunlong.song@huawei.com> <1423833115-11199-6-git-send-email-yunlong.song@huawei.com> <20150213145244.GS24251@kernel.org> In-Reply-To: <20150213145244.GS24251@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 Content-Length: 1206 Lines: 42 On 2015/2/13 22:52, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 13, 2015 at 09:11:53PM +0800, Yunlong Song escreveu: >> Distinguish the output of 'perf list --list-opts' or 'perf --list-cmds' >> with the next command prompt, which also happens in other cases (e.g. >> record, report ...). >> >> Example >> Before this patch: >> $perf list --list-opts >> --raw-dump $ <-- the output and the next command prompt are at >> the same line >> >> After this patch: >> $perf list --list-opts >> --raw-dump >> $ <-- the new line > > Unsure about this one, IIRC this --list-opts thing was added to be used > together with shell autocompletion, have you checked that this extra > newline is OK with that? > > Please try searching for the changeset that introduced --list-opts to > get info about how to test this, > > Thanks, > > - Arnaldo > > . > Already checked, it's really OK. -- Thanks, Yunlong Song -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/