projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0607571
)
progs/wgl: Quit after displaying usage for -h option.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 16 Jun 2009 11:34:29 +0000
(12:34 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 16 Jun 2009 11:34:29 +0000
(12:34 +0100)
progs/wgl/wglthreads/wglthreads.c
patch
|
blob
|
history
diff --git
a/progs/wgl/wglthreads/wglthreads.c
b/progs/wgl/wglthreads/wglthreads.c
index 4e53fa8dee56890c7777e52f927e030ad48fd052..1a8219ccc94d4037d504e9aa55069d64847f1a52 100644
(file)
--- 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;