about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 32f69791..8d754033 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -2658,6 +2658,9 @@ cmd_autocomplete_add(const char *const value)
     if (commands_ac) {
         autocomplete_add(commands_ac, value);
     }
+    if (help_ac) {
+        autocomplete_add(help_ac, &value[1]);
+    }
 }
 
 void