summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-15 11:54:03 +0100
committersin <sin@2f30.org>2014-09-15 11:54:03 +0100
commit85e55d35e1112501d7d1c339942d57d7df317ce6 (patch)
tree7e519c56be5640e81de26834631a4287023170b3 /ratatox.c
parent1489c6776164beb650af87165605e59b298d5d40 (diff)
When we hit an unknown command inform the user of the help command
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatox.c b/ratatox.c
index ff494ab..5a0776c 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -690,7 +690,7 @@ again:
if (cmd[1] == '\0' || isspace((int)cmd[1]))
return (*cmds[i].cb)(cmd, strlen(cmd));
- fprintf(stderr, "Unknown command: %s\n", cmd);
+ fprintf(stderr, "Unknown command '%s', type h for help\n", cmd);
return -1;
}