be more helpful on no-argument invocation
This commit is contained in:
parent
8e87ecda2a
commit
bd1a47dfea
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user