From 077c5e62d8800e66e958af7663b1a5d6f50670cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 16 Jun 2009 12:34:29 +0100 Subject: [PATCH] progs/wgl: Quit after displaying usage for -h option. --- progs/wgl/wglthreads/wglthreads.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2