Skip to content

Commit 479c532

Browse files
author
Dave Abrahams
authored
Compatibility with latest ArgumentParser deprecations (#64)
1 parent e2bb5e3 commit 479c532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Benchmark/BenchmarkArguments.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import ArgumentParser
1818
/// all of the default benchmark settings.
1919
public struct BenchmarkArguments: ParsableArguments {
2020
@Flag(help: "Overrides check to verify optimized build.")
21-
var allowDebugBuild: Bool
21+
var allowDebugBuild: Bool = false
2222

2323
@Option(help: "Run only benchmarks whose names match the regular expression.")
2424
var filter: String?
@@ -52,7 +52,7 @@ public struct BenchmarkArguments: ParsableArguments {
5252
var format: Format.Value?
5353

5454
@Flag(help: "Only print final benchmark results.")
55-
var quiet: Bool
55+
var quiet: Bool = false
5656

5757
public init() {}
5858

0 commit comments

Comments
 (0)