Skip to content

Commit

Permalink
Added port argument
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottminns committed Apr 18, 2016
1 parent a8f6ddb commit a4634ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ extension BlackfishApp {
if let portInt = Int(portString) {
port = portInt
}
} else if secondArg == "--port" {
if let portInt = Int(Process.arguments[2]) {
port = portInt
}
}
}

Expand Down

0 comments on commit a4634ed

Please sign in to comment.