diff options
author | James Booth <boothj5@gmail.com> | 2016-02-18 21:06:21 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-18 21:06:21 +0000 |
commit | 0654aa11517beb3d11cda8814e02ccd62c3e374e (patch) | |
tree | 219bd1f58df0aae18b132e0257dd382bf04017e4 | |
parent | 639623d625acbffcc39059617a9c31ec30f7de80 (diff) | |
download | profani-tty-0654aa11517beb3d11cda8814e02ccd62c3e374e.tar.gz |
Added plugin commands to /help autocompletion
-rw-r--r-- | src/command/command.c | 3 |
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 |