Made weston-subsurfaces --help work
This commit is contained in:
committed by
Pekka Paalanen
parent
6df71aae03
commit
852254a7c7
@@ -775,8 +775,8 @@ main(int argc, char *argv[])
|
|||||||
struct display *display;
|
struct display *display;
|
||||||
struct demoapp *app;
|
struct demoapp *app;
|
||||||
|
|
||||||
parse_options(options, ARRAY_LENGTH(options), &argc, argv);
|
if (parse_options(options, ARRAY_LENGTH(options), &argc, argv) > 1
|
||||||
if (option_help) {
|
|| option_help) {
|
||||||
printf(help_text, argv[0]);
|
printf(help_text, argv[0]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user