about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-06-25 23:41:53 +0100
committerJames Booth <boothj5@gmail.com>2013-06-25 23:41:53 +0100
commite12ede6cd8977da8545e2486f62f6d9f575a5c88 (patch)
tree570e072cf4bb04859410cdd43dca7761513c0275 /src/command
parentca5c6a5745c560a1d799cbcded00e586e2337e4b (diff)
downloadprofani-tty-e12ede6cd8977da8545e2486f62f6d9f575a5c88.tar.gz
Still show usage with current setting
Diffstat (limited to 'src/command')
-rw-r--r--src/command/command.c1
1 files changed, 1 insertions, 0 deletions
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("");