commit 85e55d35e1112501d7d1c339942d57d7df317ce6
parent 1489c6776164beb650af87165605e59b298d5d40
Author: sin <sin@2f30.org>
Date: Mon, 15 Sep 2014 11:54:03 +0100
When we hit an unknown command inform the user of the help command
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}