summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-06-16 12:34:29 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-06-16 12:34:29 +0100
commit077c5e62d8800e66e958af7663b1a5d6f50670cf (patch)
treef104b61b379de60aac0f5b13d560351135ba3a58 /progs
parent06075711af7ae143c362a6d989121d8fdb4fd6ca (diff)
progs/wgl: Quit after displaying usage for -h option.
Diffstat (limited to 'progs')
-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 4e53fa8dee..1a8219ccc9 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;