fix bug in command line parsing (Milan)

This commit is contained in:
Joe Thornber 2012-03-05 11:46:07 +00:00
parent 43bd901f16
commit 399ef0ba4e
2 changed files with 2 additions and 2 deletions

View File

@ -90,5 +90,5 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
return check(argv[1], quiet); return check(argv[optind], quiet);
} }

View File

@ -75,5 +75,5 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
return check(argv[1]); return check(argv[optind]);
} }