about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 780778c2..9f9c099d 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1368,11 +1368,11 @@ cmd_help(ProfWin *window, const char *const command, gchar **args)
 
         Command *command = g_hash_table_lookup(commands, cmd_with_slash);
         if (command) {
-            cons_show_help(command);
+            cons_show_help(cmd_with_slash, &command->help);
         } else {
             CommandHelp *commandHelp = plugins_get_help(cmd_with_slash);
             if (commandHelp) {
-                cons_show_plugin_help(cmd_with_slash, commandHelp);
+                cons_show_help(cmd_with_slash, commandHelp);
             } else {
                 cons_show("No such command.");
             }