Skip to content

Commit

Permalink
bugfix -c parameter is used multiple times, the last one shall prevail (
Browse files Browse the repository at this point in the history
  • Loading branch information
Axlgrep authored Oct 31, 2018
1 parent a1d1c60 commit 88dff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static void usage()
}

int main(int argc, char *argv[]) {
if (argc < 2) {
if (argc != 2 && argc != 3) {
usage();
exit(-1);
}
Expand Down

0 comments on commit 88dff4f

Please sign in to comment.