Skip to content

Commit c70970c

Browse files
committed
benchmarks: fix the handling of the --help command line option
It displayed the help if the option was _not_ specified.
1 parent ed5d321 commit c70970c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/utils/DriverUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ struct TestConfig {
147147

148148
filters = benchArgs.positionalArgs
149149

150-
if benchArgs.optionalArgsMap["--help"] == nil {
150+
if benchArgs.optionalArgsMap["--help"] != nil {
151151
return .help(validOptions)
152152
}
153153

0 commit comments

Comments
 (0)