Swift 6 includes swift format sub command but does not list it #75502
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
documentation
inaccurate info
Bug → documentation: Inaccurate info
Description
https://forums.swift.org/t/swift-6-build-swiftlang-swift-format-in-its-toolchain-should-this-also-work-on-linux/73353/4
Reproduction
swift format -h (works)
OVERVIEW: Format or lint Swift source code
USAGE: swift-format [--version]
OPTIONS:
-v, --version Print the version and exit
-h, --help Show help information.
SUBCOMMANDS:
dump-configuration Dump the default configuration in JSON format to standard output
format (default) Format Swift source code
lint Diagnose style issues in Swift source code
See 'swift-format help ' for detailed help.
swift -h
...
Subcommands:
swift build Build Swift packages
swift package Create and work on packages
swift run Run a program from a package
swift test Run package tests
swift repl Experiment with Swift code interactively
Use
swift --version
for Swift version information.Use
swift --help
for descriptions of available options and flags.Use
swift help <subcommand>
for more information about a subcommand.does not list format sub command
Expected behavior
list format as a sub command with breef info that it runs swift-format
Environment
swift-driver version: 1.112.3 Apple Swift version 6.0 (swiftlang-6.0.0.6.8 clang-1600.0.23.1)
Target: arm64-apple-macosx14.0
and on linux
Additional information
Super that this is included now!
The text was updated successfully, but these errors were encountered: