Skip to content

Commit

Permalink
-? options has no argument
Browse files Browse the repository at this point in the history
  • Loading branch information
triode committed Jan 1, 2015
1 parent ec0d566 commit a2de5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ int main(int argc, char **argv) {

while (optind < argc && strlen(argv[optind]) >= 2 && argv[optind][0] == '-') {
char *opt = argv[optind] + 1;
if (strstr("oabcdefmMnNpPrs?", opt) && optind < argc - 1) {
if (strstr("oabcdefmMnNpPrs", opt) && optind < argc - 1) {
optarg = argv[optind + 1];
optind += 2;
} else if (strstr("ltz"
} else if (strstr("ltz?"
#if RESAMPLE
"uR"
#endif
Expand Down

0 comments on commit a2de5cd

Please sign in to comment.