Skip to content

Commit

Permalink
Merge pull request #133 from ouspg/fix-go
Browse files Browse the repository at this point in the history
fix run.go calling convention + usage string
  • Loading branch information
Mamietti authored Aug 1, 2016
2 parents 5386721 + 2d05f7f commit 23f3db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/go-nethttp/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
)

func main() {
if len(os.Args) == 2 {
if len(os.Args) == 4 {
fmt.Println("UNSUPPORTED")
os.Exit(0)
} else if len(os.Args) != 3 {
fmt.Println("usage: %s <host> <port>", os.Args[0])
fmt.Println("usage: go run run.go <host> <port>")
os.Exit(1)
}

Expand Down

0 comments on commit 23f3db1

Please sign in to comment.