mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
progs/wgl: Quit after displaying usage for -h option.
This commit is contained in:
parent
06075711af
commit
077c5e62d8
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue