Skip to content

Commit 62bb517

Browse files
rauhulfurby-tm
authored andcommitted
Make ignore-lock a flag (swiftlang#7384)
This allows users to ignore package locking via `--ignore-lock` instead of `--ignore-lock true`.
1 parent 88f7d12 commit 62bb517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CoreCommands/Options.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ package struct LocationOptions: ParsableArguments {
126126
)
127127
package var pkgConfigDirectories: [AbsolutePath] = []
128128

129-
@Option(name: .customLong("ignore-lock"), help: .hidden)
129+
@Flag(name: .customLong("ignore-lock"), help: .hidden)
130130
package var ignoreLock: Bool = false
131131
}
132132

0 commit comments

Comments
 (0)