[PATCH 21/29] perf stat: Enhance option parse error message

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Print related option help messages only when it failed to process options. While at it, modify parse_options_usage() to skip usage part so that it can be used for showing multiple option help messages naturally like below: $ perf stat -Bx, ls -B option not supported with

[PATCH 21/29] perf stat: Enhance option parse error message

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Print related option help messages only when it failed to process options. While at it, modify parse_options_usage() to skip usage part so that it can be used for showing multiple option help messages naturally like below: $ perf stat -Bx, ls -B