Description
Description
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!