diff options
Diffstat (limited to 'internal/repl/help.go')
| -rw-r--r-- | internal/repl/help.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/repl/help.go b/internal/repl/help.go index 5192085..1aaec09 100644 --- a/internal/repl/help.go +++ b/internal/repl/help.go @@ -537,8 +537,11 @@ func GetCompletionTopics() []string { // Add "categories" as a special topic topics = append(topics, "categories") - // Add all operator names + // Add all operator names (skip "help" itself — no need to complete help help) for op, t := range helpByTopic { + if op == "help" { + continue + } topics = append(topics, op) seen[op] = true // Add aliases |
