summaryrefslogtreecommitdiff
path: root/tools/lib/perf/include/internal/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/perf/include/internal/tests.h')
-rw-r--r--tools/lib/perf/include/internal/tests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/perf/include/internal/tests.h b/tools/lib/perf/include/internal/tests.h
index 61052099225b..b130a6663ff8 100644
--- a/tools/lib/perf/include/internal/tests.h
+++ b/tools/lib/perf/include/internal/tests.h
@@ -23,6 +23,8 @@ static inline int get_verbose(char **argv, int argc)
break;
}
}
+ optind = 1;
+
return verbose;
}