From 2d05f7f620056a5624be709a2f82d985f247f90f Mon Sep 17 00:00:00 2001 From: aleksiklasila Date: Mon, 1 Aug 2016 12:59:17 +0300 Subject: [PATCH] fix run.go calling convention + usage string --- stubs/go-nethttp/run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/go-nethttp/run.go b/stubs/go-nethttp/run.go index 3f10b84..68f1017 100644 --- a/stubs/go-nethttp/run.go +++ b/stubs/go-nethttp/run.go @@ -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 ", os.Args[0]) + fmt.Println("usage: go run run.go ") os.Exit(1) }