lkml.org 
[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] perf tools: Allow '--inherit' as the negation of '--no-inherit'
On 11/18/13, 2:55 AM, Adrian Hunter wrote:
> Long options can be negated by prefixing them
> with 'no-'. However options that already start
> with 'no-', such as '--no-inherit' result in ugly
> double 'no's. Avoid that by accepting that the
> removal of 'no-' also negates the long option.
>

Why not cleanup the options for the commands and move all of the no-xxxx
to just xxxx? Anyone using no-xxxx would still just work by the existing
code.

David


\
 
 \ /
  Last update: 2013-11-18 22:41    [W:0.080 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site