Skip to content

Commit 22abc55

Browse files
committed
swift-xcodegen: Add a short name for --output-dir
'-o' is a common short name for an option that accepts the destination for primary output.
1 parent a868d92 commit 22abc55

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

utils/swift-xcodegen/Sources/swift-xcodegen/Options.swift

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,13 @@ struct MiscOptions: ParsableArguments {
242242
""")
243243
var projectRootDir: AnyPath?
244244

245-
@Option(help: """
246-
The output directory to write the Xcode project to. Defaults to the project
247-
root directory.
248-
""")
245+
@Option(
246+
name: .shortAndLong,
247+
help: """
248+
The output directory to write the Xcode project to. Defaults to the
249+
project root directory.
250+
"""
251+
)
249252
var outputDir: AnyPath?
250253

251254
@Option(help: "The log level verbosity (default: info)")

0 commit comments

Comments
 (0)