about summary refs log tree commit diff stats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-18 21:14:12 +0000
committerJames Booth <boothj5@gmail.com>2016-02-18 21:14:12 +0000
commita152d7fb8eee8b1d39445d5a4c40cfc973aff11a (patch)
treee8c72f2700c4c340abc3ea33eb6923a6fd270e0a /src/plugins
parent0654aa11517beb3d11cda8814e02ccd62c3e374e (diff)
downloadprofani-tty-a152d7fb8eee8b1d39445d5a4c40cfc973aff11a.tar.gz
Added cmd_help_autocomplete_add
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/callbacks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/callbacks.c b/src/plugins/callbacks.c
index 2ae35f35..7951904d 100644
--- a/src/plugins/callbacks.c
+++ b/src/plugins/callbacks.c
@@ -51,6 +51,8 @@ callbacks_add_command(PluginCommand *command)
 {
     p_commands = g_slist_append(p_commands, command);
     cmd_autocomplete_add(command->command_name);
+    cmd_help_autocomplete_add(&command->command_name[1]);
+
 }
 
 void