mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 21:38:04 +02:00
Made weston-subsurfaces --help work
This commit is contained in:
parent
6df71aae03
commit
852254a7c7
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue