diff options
author | Namhyung Kim <[email protected]> | 2013-11-01 16:33:15 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-04 12:57:36 -0300 |
commit | cc03c54296ccbeca5363dfe8f49af42d14960f28 (patch) | |
tree | 9480bbc728687143fe5f291fca9dab1904ca08d7 /net/lapb/lapb_iface.c | |
parent | d37a92dcb45094dc02836c8a77c693c6f9916fb2 (diff) |
perf stat: Enhance option parse error message
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 -x
usage: perf stat [<options>] [<command>]
-B, --big-num print large numbers with thousands' separators
-x, --field-separator <separator>
print counts with custom separator
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Enthusiastically-Supported-by: Ingo Molnar <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions