Removed old command help

This commit is contained in:
James Booth
2015-07-26 02:05:53 +01:00
parent 36ebf0fc17
commit 34537e2fb1
6 changed files with 414 additions and 426 deletions

View File

@@ -141,6 +141,18 @@ cons_show_help(Command *command)
}
}
void
cons_bad_cmd_usage(const char * const cmd)
{
GString *msg = g_string_new("");
g_string_printf(msg, "Invalid usage, see '/help %s' for details.", &cmd[1]);
cons_show("");
cons_show(msg->str);
g_string_free(msg, TRUE);
}
void
cons_show_error(const char * const msg, ...)
{