do_help fix

This commit is contained in:
Jack Halford 2017-06-14 12:00:27 +02:00
parent cd41b16053
commit 5df68055d5

View file

@ -20,7 +20,7 @@ int cli_do_help(int sock, char **av)
console_msg(0, "Commands are:"); console_msg(0, "Commands are:");
i = -1; i = -1;
while (g_cli_cmd[++i].key) while (g_cli_cmd[++i].key)
console_msg(0, "%s\n", g_cli_cmd[i].key); console_msg(0, "%s\t%s", g_cli_cmd[i].key, g_cli_cmd[i].help);
} }
return (0); return (0);
} }