Skip to content

Commit

Permalink
Fix handling of invalid command-line options.
Browse files Browse the repository at this point in the history
  • Loading branch information
zevweiss committed Jun 23, 2015
1 parent dd21926 commit fd280fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ int main(int argc, char** argv)
exit(0);

default:
initerr("Unrecognized option: %c\n", opt);
usage(stderr);
exit(1);
}
}
Expand Down

0 comments on commit fd280fe

Please sign in to comment.