mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
document -qvd options
This commit is contained in:
parent
525bf258e4
commit
78187f5e65
2 changed files with 13 additions and 6 deletions
13
dwl.c
13
dwl.c
|
@ -1470,14 +1470,11 @@ main(int argc, char *argv[])
|
|||
startup_cmd = optarg;
|
||||
break;
|
||||
default:
|
||||
printf("Usage: %s [-s startup command]\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
goto usage;
|
||||
}
|
||||
}
|
||||
if (optind < argc) {
|
||||
printf("Usage: %s [-s startup command]\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
if (optind < argc)
|
||||
goto usage;
|
||||
wlr_log_init(loglevel, NULL);
|
||||
|
||||
/* The Wayland display is managed by libwayland. It handles accepting
|
||||
|
@ -1491,4 +1488,8 @@ main(int argc, char *argv[])
|
|||
wl_display_destroy_clients(dpy);
|
||||
wl_display_destroy(dpy);
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
usage:
|
||||
printf("Usage: %s [-qvd] [-s startup command]\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue