Re: [PATCH 2/4] perf tools: Allow '--inherit' as the negation of'--no-inherit'

From: David Ahern
Date: Mon Nov 18 2013 - 16:15:59 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/