Messages in this thread | | | Date | Sun, 25 Oct 2015 09:48:35 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/4] perf tools: Improve ambiguous option help message |
| |
* Namhyung Kim <namhyung@kernel.org> wrote:
> Currently if an option name is ambiguous it only prints first two > matched option names but no help. It'd be better it could show all > possible names and help messages too. > > Before: > $ perf report --show > Error: Ambiguous option: show (could be --show-total-period or > --show-ref-call-graph) > Usage: perf report [<options>] > > After: > $ perf report --show > Error: Ambiguous option: show (could be --show-total-period or > --show-ref-call-graph) > Usage: perf report [<options>] > > -n, --show-nr-samples > Show a column with the number of samples > --showcpuutilization > Show sample percentage for different cpu modes > -I, --show-info Display extended information about perf.data file > --show-total-period > Show a column with the sum of periods > --show-ref-call-graph > Show callgraph from reference event
Very nice touch!
Acked-by: Ingo Molnar <mingo@kernel.org>
Thanks,
Ingo
| |