You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.3.0
Additional Detail from JIRA
Votes
1
Component/s
Docker
Labels
Bug
Assignee
administrator{{7*7}} (JIRA)
Priority
Medium
md5: c4db8bf685ac3e1cc286131910bf3fc4
Issue Description:
If you want to build and run a Swift command line executable that takes an argument named -c or --configuration, instead of passing it to the invocation, swift tries to interpret it as it's own argument:
Environment
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.3.0
Additional Detail from JIRA
md5: c4db8bf685ac3e1cc286131910bf3fc4
Issue Description:
If you want to build and run a Swift command line executable that takes an argument named -c or --configuration, instead of passing it to the invocation, swift tries to interpret it as it's own argument:
Will throw the following error:
Instead of building and running executablename and passing it the argument as is.
Seems to work fine for other arguments that swift run accepts: For example, -h is passed correctly even though swift run also accepts a -h argument.
The text was updated successfully, but these errors were encountered: