main.go: Fixed printing of non existing util.

This commit is contained in:
jienfak 2019-10-30 05:04:44 +05:00
parent b51810823b
commit 023cea5bbe

View file

@ -37,7 +37,7 @@ func main() {
}
if _, ok := utilsMap[utilName] ; !ok {
fmt.Printf("%s: No such uitl as '%s'.", )
fmt.Printf("%s: No such uitl as '%s'.\n", os.Args[0], utilName )
os.Exit(1)
}
status := utilsMap[utilName].(func([]string) int )(args)