[PATCH v2] perf subcmd: Bugfix more exactly handle the error about 'PARSE_OPT_EXCLUSIVE'

2016-03-07 Thread Taeung Song
perf-probe have two options '--list' and '--func'. This options have a option flag 'PARSE_OPT_EXCLUSIVE'. But when that kind of this options are used at same time, handling this error has latent problem. (Even though there isn't any problem at this point in time e.g) # perf probe --list

[PATCH v2] perf subcmd: Bugfix more exactly handle the error about 'PARSE_OPT_EXCLUSIVE'

2016-03-07 Thread Taeung Song
perf-probe have two options '--list' and '--func'. This options have a option flag 'PARSE_OPT_EXCLUSIVE'. But when that kind of this options are used at same time, handling this error has latent problem. (Even though there isn't any problem at this point in time e.g) # perf probe --list