1
0
Fork 0

CLI command not found handler

This commit is contained in:
Gregory Eremin 2014-09-24 14:46:53 +04:00
parent 8566773ca0
commit 852661578c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ func main() {
},
}
app.CommandNotFound = func(c *cli.Context, cmd string) {
fmt.Printf("Unknown command %q\n", cmd)
}
app.Run(os.Args)