Prefer funcs to functions

This commit is contained in:
Derek Parker
2014-12-28 23:06:04 -06:00
parent 260d6d1fe1
commit c8035c9338
2 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ func info(p *proctl.DebuggedProcess, args ...string) error {
}
}
case "functions":
case "funcs":
data = make([]string, 0, len(p.GoSymTable.Funcs))
for _, f := range p.GoSymTable.Funcs {
if f.Sym != nil && (filter == nil || filter.Match([]byte(f.Name))) {