[lkml]   [2013]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] perf completion: complete 'perf kvm'
On 12/11/13, 12:50 PM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Dec 11, 2013 at 04:04:15PM +0530, Ramkumar Ramachandra escreveu:
>> Currently, there is no way to enumerate the subcommands under 'perf
>> kvm', so hardcode them.
> [acme@ssdandy linux]$ perf kvm -h 2>&1 | grep usage
> usage: perf kvm [<options>] {top|record|report|diff|buildid-list|stat}
> Can't you use this somehow?
> I'm applying it tho as it is better than the current situation.

I don't like the command list being embedded in the completion script.
It will get outdated quickly.


 \ /
  Last update: 2013-12-12 10:41    [W:0.107 / U:5.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site