Added missing detection of invalid flags.

This commit is contained in:
Camilla Berglund 2014-03-10 13:15:50 +01:00
parent d7c42c8132
commit 4889b4ceee

View File

@ -491,6 +491,10 @@ int main(int argc, char** argv)
case 'n':
count = (int) strtol(optarg, NULL, 10);
break;
default:
usage();
exit(EXIT_FAILURE);
}
}