Re: [PATCH 1/2] perf tools: Setup pager when printing usage and help

2015-10-22 Thread Namhyung Kim
On Thu, Oct 22, 2015 at 11:41 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 22, 2015 at 11:28:31PM +0900, Namhyung Kim escreveu: >> 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

Re: [PATCH 1/2] perf tools: Setup pager when printing usage and help

2015-10-22 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 22, 2015 at 11:28:31PM +0900, Namhyung Kim escreveu: > 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.

[PATCH 1/2] perf tools: Setup pager when printing usage and help

2015-10-22 Thread Namhyung Kim
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()