Skip to content
Merged
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
5 changes: 5 additions & 0 deletions Sources/Swiftly/Run.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ internal struct Run: SwiftlyCommand {
internal mutating func run() async throws {
try validateSwiftly()

// Handle the specific case where help is requested of the run subcommand
if command == ["--help"] {
throw CleanExit.helpRequest(self)
}

var config = try Config.load()

let (command, selector) = try extractProxyArguments(command: self.command)
Expand Down