diff options
Diffstat (limited to 'tools/perf/util/parse-options.c')
-rw-r--r-- | tools/perf/util/parse-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-options.c b/tools/perf/util/parse-options.c index f62dee7bd924..4a015f77e2b5 100644 --- a/tools/perf/util/parse-options.c +++ b/tools/perf/util/parse-options.c | |||
@@ -46,7 +46,7 @@ static int get_value(struct parse_opt_ctx_t *p, | |||
46 | return opterror(opt, "is not usable", flags); | 46 | return opterror(opt, "is not usable", flags); |
47 | 47 | ||
48 | if (opt->flags & PARSE_OPT_EXCLUSIVE) { | 48 | if (opt->flags & PARSE_OPT_EXCLUSIVE) { |
49 | if (p->excl_opt) { | 49 | if (p->excl_opt && p->excl_opt != opt) { |
50 | char msg[128]; | 50 | char msg[128]; |
51 | 51 | ||
52 | if (((flags & OPT_SHORT) && p->excl_opt->short_name) || | 52 | if (((flags & OPT_SHORT) && p->excl_opt->short_name) || |