Skip to content

Commit 8151350

Browse files
authored
Merge pull request #16892 from eeckstein/fix-benchmark-help
benchmarks: fix the handling of the --help command line option
2 parents ed5d321 + c70970c commit 8151350

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)