diff options
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r-- | tools/irecovery.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c index a14e2b6..f3f7f39 100644 --- a/tools/irecovery.c +++ b/tools/irecovery.c @@ -125,7 +125,7 @@ static void parse_command(irecv_client_t client, unsigned char* command, unsigne shell_usage(); } else if (!strcmp(cmd, "/upload")) { char* filename = strtok(NULL, " "); - debug("Uploading files %s\n", filename); + debug("Uploading file %s\n", filename); if (filename != NULL) { irecv_send_file(client, filename, 0); } @@ -174,6 +174,8 @@ static void parse_command(irecv_client_t client, unsigned char* command, unsigne printf("Could not read file '%s'\n", filename); } } + } else { + printf("Unsupported command %s. Use /help to get a list of available commands.\n", cmd); } free(action); |