add newline after command name
This commit is contained in:
parent
d1f435a436
commit
72de932c7e
|
@ -176,6 +176,7 @@ type commandCollection map[string]Command
|
||||||
|
|
||||||
func UsageAndExit(cmds commandCollection) {
|
func UsageAndExit(cmds commandCollection) {
|
||||||
fmt.Println(os.Args[0])
|
fmt.Println(os.Args[0])
|
||||||
|
fmt.Println()
|
||||||
fmt.Println("Possible commands:")
|
fmt.Println("Possible commands:")
|
||||||
for _, cmd := range cmds {
|
for _, cmd := range cmds {
|
||||||
fmt.Println(" " + cmd.cmd)
|
fmt.Println(" " + cmd.cmd)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user