From e12ede6cd8977da8545e2486f62f6d9f575a5c88 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 25 Jun 2013 23:41:53 +0100 Subject: [PATCH] Still show usage with current setting --- src/command/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command/command.c b/src/command/command.c index 292df7fb..50f7b08f 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1088,6 +1088,7 @@ cmd_execute(const char * const command, const char * const inp) if ((args == NULL) && (cmd->setting_func != NULL)) { cons_show(""); cmd->setting_func(); + cons_show("Usage: %s", cmd->help.usage); return TRUE; } else if (args == NULL) { cons_show("");