From b1011b7378a008dddd726b925810fc17efbb62d3 Mon Sep 17 00:00:00 2001 From: Steve Mynott Date: Wed, 23 Mar 2016 16:32:11 +0000 Subject: [PATCH] terminal: create "h" alias for "help" command --- terminal/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal/command.go b/terminal/command.go index f069b7dc..2ec893a9 100644 --- a/terminal/command.go +++ b/terminal/command.go @@ -68,7 +68,7 @@ func DebugCommands(client service.Client) *Commands { c := &Commands{client: client} c.cmds = []command{ - {aliases: []string{"help"}, cmdFn: c.help, helpMsg: "Prints the help message."}, + {aliases: []string{"help", "h"}, cmdFn: c.help, helpMsg: "Prints the help message."}, {aliases: []string{"break", "b"}, cmdFn: breakpoint, helpMsg: "break [name] "}, {aliases: []string{"trace", "t"}, cmdFn: tracepoint, helpMsg: "Set tracepoint, takes the same arguments as break."}, {aliases: []string{"restart", "r"}, cmdFn: restart, helpMsg: "Restart process."},