diff options
-rw-r--r-- | tools/idevicesyslog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index dc404b0..c8f4613 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
@@ -1224,6 +1224,9 @@ int main(int argc, char *argv[]) | |||
1224 | fclose(outf); | 1224 | fclose(outf); |
1225 | } | 1225 | } |
1226 | return 0; | 1226 | return 0; |
1227 | } else { | ||
1228 | fprintf(stderr, "Unknown command '%s'. See --help for valid commands.\n", argv[0]); | ||
1229 | return 1; | ||
1227 | } | 1230 | } |
1228 | } | 1231 | } |
1229 | 1232 | ||