be more helpful on no-argument invocation

pull/4/head
Alan Shreve 2013-11-08 21:31:55 +02:00
parent 8e87ecda2a
commit bd1a47dfea
1 changed files with 2 additions and 1 deletions

View File

@ -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 <input dir>\n\n")
flag.Usage()
os.Exit(1)
}