Skip to content
Permalink
Browse files

Show shortcuts on the help command

  • Loading branch information...
Raggaer committed Mar 26, 2019
1 parent fec3a7e commit 75b2f326ac92c91724fb6397c6dddea6f1889bcf
Showing with 4 additions and 1 deletion.
  1. +4 −1 command.go
@@ -229,5 +229,8 @@ func help(args []string) {
}
fmt.Println(command.Key + " -- " + command.HelpSmall)
}
fmt.Println("\r\nType \"help <command>\" for a more detailed help on a command")
fmt.Println("\r\nType \"help <command>\" for a more detailed help on a command\r\n")
for _, shortcut := range shortcuts {
fmt.Println("Shortcut '" + shortcut.Alias + "' -- " + shortcut.Command + " " + strings.Join(shortcut.Input, " "))
}
}

0 comments on commit 75b2f32

Please sign in to comment.
You can’t perform that action at this time.