From bd1a47dfea8368c5f8cb3b9aee154631eb07bb8b Mon Sep 17 00:00:00 2001 From: Alan Shreve Date: Fri, 8 Nov 2013 21:31:55 +0200 Subject: [PATCH] be more helpful on no-argument invocation --- go-bindata/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go-bindata/main.go b/go-bindata/main.go index 3537004..77a3185 100644 --- a/go-bindata/main.go +++ b/go-bindata/main.go @@ -54,7 +54,8 @@ func parseArgs() *bindata.Config { // Make sure we have in/output paths. if flag.NArg() == 0 { - fmt.Fprintf(os.Stderr, "Missing input path.\n") + fmt.Fprintf(os.Stderr, "Missing \n\n") + flag.Usage() os.Exit(1) }