diff options
| author | Adrian Hunter <[email protected]> | 2013-11-18 11:55:55 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-27 14:58:36 -0300 |
| commit | 4bc437964ef540462bd15af4a713da62961809aa (patch) | |
| tree | 4d6dcde004db36b4865be799c9423c306e523ee3 /tools/perf/scripts/python | |
| parent | 3aa5939d71fa22a947808ba9c798b8537c35097a (diff) | |
perf tools: Allow '--inherit' as the negation of '--no-inherit'
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.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions