about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-18 21:06:21 +0000
committerJames Booth <boothj5@gmail.com>2016-02-18 21:06:21 +0000
commit0654aa11517beb3d11cda8814e02ccd62c3e374e (patch)
tree219bd1f58df0aae18b132e0257dd382bf04017e4
parent639623d625acbffcc39059617a9c31ec30f7de80 (diff)
downloadprofani-tty-0654aa11517beb3d11cda8814e02ccd62c3e374e.tar.gz
Added plugin commands to /help autocompletion
-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