tWhen we hit an unknown command inform the user of the help command - ratox - FIFO based tox client
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 85e55d35e1112501d7d1c339942d57d7df317ce6
DIR parent 1489c6776164beb650af87165605e59b298d5d40
HTML 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:
M ratatox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/ratatox.c b/ratatox.c
t@@ -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;
}