Skip to content

Commit

Permalink
Merge pull request #19 from swails/master
Browse files Browse the repository at this point in the history
Stop exiting with a 0 exit code in -h/-L
  • Loading branch information
jchodera committed Jul 7, 2015
2 parents 430e828 + 12eaad6 commit fd69b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antechamber/antechamber.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,15 +524,15 @@ int main(int argc, char *argv[])
if (strncmp(argv[1], "-h", 2) == 0
|| strncmp(argv[1], "-H", 2) == 0) {
usage();
exit(1);
exit(0);
}
if (strncmp(argv[1], "-l", 2) == 0 ||
strncmp(argv[1], "-L", 2) == 0 ||
strncmp(argv[1], "-list", 4) == 0 ||
strncmp(argv[1], "-List", 4) == 0 ||
strncmp(argv[1], "-LIST", 4) == 0) {
list();
exit(1);
exit(0);
}
}
if (argc == 1) {
Expand Down

0 comments on commit fd69b5d

Please sign in to comment.