summaryrefslogtreecommitdiffstats
path: root/progs/wgl/wglthreads
diff options
context:
space:
mode:
Diffstat (limited to 'progs/wgl/wglthreads')
-rw-r--r--progs/wgl/wglthreads/wglthreads.c1
1 files changed, 1 insertions, 0 deletions
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;