progs/wgl: Quit after displaying usage for -h option.

This commit is contained in:
José Fonseca 2009-06-16 12:34:29 +01:00
parent 06075711af
commit 077c5e62d8

View file

@ -541,6 +541,7 @@ main(int argc, char *argv[])
for (i = 1; i < argc; i++) {
if (strcmp(argv[i], "-h") == 0) {
usage();
exit(0);
}
else if (strcmp(argv[i], "-l") == 0) {
Locking = 1;