From 85e55d35e1112501d7d1c339942d57d7df317ce6 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 15 Sep 2014 11:54:03 +0100 Subject: When we hit an unknown command inform the user of the help command --- ratatox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatox.c') 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; } -- cgit v1.2.3