main.go: Fixed printing of non existing util.
This commit is contained in:
parent
b51810823b
commit
023cea5bbe
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue