CLI command not found handler
This commit is contained in:
parent
8566773ca0
commit
852661578c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue