Made weston-nested --help work
This commit is contained in:
committed by
Pekka Paalanen
parent
4fb8491e1b
commit
6df71aae03
+5
-2
@@ -1115,8 +1115,11 @@ main(int argc, char *argv[])
|
|||||||
struct display *display;
|
struct display *display;
|
||||||
struct nested *nested;
|
struct nested *nested;
|
||||||
|
|
||||||
parse_options(nested_options,
|
if (parse_options(nested_options,
|
||||||
ARRAY_LENGTH(nested_options), &argc, argv);
|
ARRAY_LENGTH(nested_options), &argc, argv) > 1) {
|
||||||
|
printf("Usage: %s [OPTIONS]\n --blit or -b\n", argv[0]);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
display = display_create(&argc, argv);
|
display = display_create(&argc, argv);
|
||||||
if (display == NULL) {
|
if (display == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user