Format
This commit is contained in:
parent
f6919cf18b
commit
b25bf0c0c9
|
@ -107,7 +107,7 @@ func (e *Environment) PrintHelp() {
|
||||||
command := e.command[key]
|
command := e.command[key]
|
||||||
|
|
||||||
// Pad the key with spaces so that they're all the same width
|
// Pad the key with spaces so that they're all the same width
|
||||||
key = fmt.Sprintf("%v%v", key, strings.Repeat(" ", maxKeyLen - len(key)))
|
key = fmt.Sprintf("%v%v", key, strings.Repeat(" ", maxKeyLen-len(key)))
|
||||||
|
|
||||||
// Output the command and the synopsis
|
// Output the command and the synopsis
|
||||||
e.ui.Say(" %v %v\n", key, command.Synopsis())
|
e.ui.Say(" %v %v\n", key, command.Synopsis())
|
||||||
|
|
Loading…
Reference in New Issue