Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-15224] [5.5] swift build --help regression #5734

Open
keith opened this issue Sep 21, 2021 · 2 comments
Open

[SR-15224] [5.5] swift build --help regression #5734

keith opened this issue Sep 21, 2021 · 2 comments
Labels

Comments

@keith
Copy link
Collaborator

keith commented Sep 21, 2021

Previous ID SR-15224
Radar rdar://problem/83411922
Original Reporter @keith
Type Bug
Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: d3a72159d3c93ce8e13c7a347ff45bee

Issue Description:

Swift 5.4 / Xcode 12.5.1:

OVERVIEW: Build sources into binary products

SEE ALSO: swift run, swift package, swift test

USAGE: swift build <options>

OPTIONS:
  -Xcc <Xcc>              Pass flag through to all C compiler invocations
  -Xswiftc <Xswiftc>      Pass flag through to all Swift compiler invocations
  -Xlinker <Xlinker>      Pass flag through to all linker invocations
... many more

Swift 5.5 / Xcode 13.0:

% swift build --help
OVERVIEW: Build sources into binary products

SEE ALSO: swift run, swift package, swift test

USAGE: swift build <options>

OPTIONS:
  --build-tests           Build both source and test targets
  --show-bin-path         Print the binary output path
  --target <target>       Build the specified target
  --product <product>     Build the specified product
  --version               Show the version.
  -help, -h, --help       Show help information.
@typesanitizer
Copy link

@swift-ci create

@keith
Copy link
Collaborator Author

keith commented Oct 27, 2021

Here's a possible solution apple/swift-argument-parser#366

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@keith keith transferred this issue from apple/swift Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants