projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df71aa
)
Made weston-subsurfaces --help work
author
Bill Spitzak
<spitzak@gmail.com>
Fri, 8 Aug 2014 19:59:53 +0000
(12:59 -0700)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Tue, 19 Aug 2014 09:19:17 +0000
(12:19 +0300)
clients/subsurfaces.c
patch
|
blob
|
history
diff --git
a/clients/subsurfaces.c
b/clients/subsurfaces.c
index
66a10f2
..
833030f
100644
(file)
--- a/
clients/subsurfaces.c
+++ b/
clients/subsurfaces.c
@@
-775,8
+775,8
@@
main(int argc, char *argv[])
struct display *display;
struct demoapp *app;
- parse_options(options, ARRAY_LENGTH(options), &argc, argv);
-
if (
option_help) {
+ if (parse_options(options, ARRAY_LENGTH(options), &argc, argv) > 1
+
||
option_help) {
printf(help_text, argv[0]);
return 0;
}