diff options
author | Namhyung Kim <[email protected]> | 2015-10-25 00:49:26 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-10-26 14:08:48 -0300 |
commit | 01b19455c08cc37d1c3ef174524278e84c92fec1 (patch) | |
tree | 6e518e485f1c6cd145e05d394c9bf3f69aab2fa6 /tools/perf/scripts/python/stackcollapse.py | |
parent | b272a59d835cd8ca6b45f41c66c61b473996c759 (diff) |
perf tools: Setup pager when printing usage and help
It's annoying to see error or help message when command has many options
like in perf record, report or top. So setup pager when print parser
error or help message - it should be OK since no UI is enabled at the
parsing time. The usage_with_options() already disables it by calling
exit_browser() anyway.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions