mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
Prefer funcs to functions
This commit is contained in:
@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user