Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Sources/swift-help/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enum HelpTopic: ExpressibleByArgument, CustomStringConvertible {
}

enum Subcommand: String, CaseIterable {
case build, package, run, test, repl
case build, package, format, run, test, repl

var description: String {
switch self {
Expand All @@ -61,6 +61,8 @@ enum Subcommand: String, CaseIterable {
return "Run package tests"
case .repl:
return "Experiment with Swift code interactively"
case .format:
return "Format or lint Swift source code"
}
}
}
Expand Down