Skip to content

Commit acbc716

Browse files
committed
swift-package-migrate: Improve command-line option descriptions
Be clear that both options accept a comma-separated list, which is not at all obvious, and also state the default for `--target`.
1 parent 4bc76e0 commit acbc716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Commands/PackageCommands/Migrate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import var TSCBasic.stdoutStream
3232
struct MigrateOptions: ParsableArguments {
3333
@Option(
3434
name: .customLong("target"),
35-
help: "The targets to migrate to specified set of features."
35+
help: "A comma-separated list of targets to migrate. (default: all Swift targets)"
3636
)
3737
var _targets: String?
3838

@@ -42,7 +42,7 @@ struct MigrateOptions: ParsableArguments {
4242

4343
@Option(
4444
name: .customLong("to-feature"),
45-
help: "The Swift language upcoming/experimental feature to migrate to."
45+
help: "A comma-separated list of Swift language features to migrate to."
4646
)
4747
var _features: String
4848

0 commit comments

Comments
 (0)