Hd-rum-transcode: exit on unrecognized cmdline option

This commit is contained in:
Martin Pulec
2014-12-19 16:24:42 +01:00
parent 3fc33b36e7
commit 816fe759f9

View File

@@ -393,6 +393,9 @@ static bool parse_fmt(int argc, char **argv, char **bufsize, unsigned short *por
} else if(strcmp(argv[start_index], "--help") == 0) {
usage(argv[0]);
return false;
} else {
usage(argv[0]);
return false;
}
start_index++;
}