diff options
author | sin <sin@2f30.org> | 2014-09-15 11:54:03 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-15 11:54:03 +0100 |
commit | 85e55d35e1112501d7d1c339942d57d7df317ce6 (patch) | |
tree | 7e519c56be5640e81de26834631a4287023170b3 /ratatox.c | |
parent | 1489c6776164beb650af87165605e59b298d5d40 (diff) |
When we hit an unknown command inform the user of the help command
Diffstat (limited to 'ratatox.c')
-rw-r--r-- | ratatox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |