1
0
Fork 0

Fix bug in option parsing.

This commit is contained in:
Joris van Rantwijk 2013-12-30 15:24:56 +01:00
parent f371d1bef3
commit 48d605243b
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ int main(int argc, char **argv)
if (!parse_opt(optarg, bufsecs) || bufsecs < 0) { if (!parse_opt(optarg, bufsecs) || bufsecs < 0) {
badarg("-b"); badarg("-b");
} }
break;
default: default:
usage(); usage();
fprintf(stderr, "ERROR: Unknown option\n"); fprintf(stderr, "ERROR: Unknown option\n");