From: José Fonseca Date: Tue, 16 Jun 2009 11:34:29 +0000 (+0100) Subject: progs/wgl: Quit after displaying usage for -h option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=077c5e62d8800e66e958af7663b1a5d6f50670cf;p=mesa.git progs/wgl: Quit after displaying usage for -h option. --- diff --git a/progs/wgl/wglthreads/wglthreads.c b/progs/wgl/wglthreads/wglthreads.c index 4e53fa8dee5..1a8219ccc94 100644 --- a/progs/wgl/wglthreads/wglthreads.c +++ b/progs/wgl/wglthreads/wglthreads.c @@ -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;