Re: [PATCH 5/5] perf probe: Use PARSE_OPT_EXCLUSIVE flag

2014-10-22 Thread Masami Hiramatsu
Hi Namhyng, (2014/10/23 0:15), Namhyung Kim wrote: > The perf probe has some exclusive options. Use new PARSE_OPT_EXCLUSIVE > flag to simplify the code and show more compact usage. > > $ perf probe -l -a foo > Error: switch `a' cannot be used with switch `l' > >usage: perf probe []

[PATCH 5/5] perf probe: Use PARSE_OPT_EXCLUSIVE flag

2014-10-22 Thread Namhyung Kim
The perf probe has some exclusive options. Use new PARSE_OPT_EXCLUSIVE flag to simplify the code and show more compact usage. $ perf probe -l -a foo Error: switch `a' cannot be used with switch `l' usage: perf probe [] 'PROBEDEF' ['PROBEDEF' ...] or: perf probe [] --add

Re: [PATCH 5/5] perf probe: Use PARSE_OPT_EXCLUSIVE flag

2014-10-22 Thread Masami Hiramatsu
Hi Namhyng, (2014/10/23 0:15), Namhyung Kim wrote: The perf probe has some exclusive options. Use new PARSE_OPT_EXCLUSIVE flag to simplify the code and show more compact usage. $ perf probe -l -a foo Error: switch `a' cannot be used with switch `l' usage: perf probe [options]

[PATCH 5/5] perf probe: Use PARSE_OPT_EXCLUSIVE flag

2014-10-22 Thread Namhyung Kim
The perf probe has some exclusive options. Use new PARSE_OPT_EXCLUSIVE flag to simplify the code and show more compact usage. $ perf probe -l -a foo Error: switch `a' cannot be used with switch `l' usage: perf probe [options] 'PROBEDEF' ['PROBEDEF' ...] or: perf probe [options]