Add "l" alias for list command (#1080)

Help out those of us habituated to pdb. <:^)

https://docs.python.org/3/library/pdb.html
This commit is contained in:
Chad Whitacre
2018-01-18 19:02:06 -05:00
committed by Derek Parker
parent c5c41f6352
commit 3f3de1a9b5

View File

@ -200,7 +200,7 @@ If regex is specified only package variables with a name matching it will be ret
Argument -a shows more registers.`}, Argument -a shows more registers.`},
{aliases: []string{"exit", "quit", "q"}, cmdFn: exitCommand, helpMsg: "Exit the debugger."}, {aliases: []string{"exit", "quit", "q"}, cmdFn: exitCommand, helpMsg: "Exit the debugger."},
{aliases: []string{"list", "ls"}, allowedPrefixes: scopePrefix, cmdFn: listCommand, helpMsg: `Show source code. {aliases: []string{"list", "ls", "l"}, allowedPrefixes: scopePrefix, cmdFn: listCommand, helpMsg: `Show source code.
[goroutine <n>] [frame <m>] list [<linespec>] [goroutine <n>] [frame <m>] list [<linespec>]