add -v
flag to the manpage
Thanks @Humm42
This commit is contained in:
parent
d5a741c9b4
commit
063736f898
2 changed files with 8 additions and 1 deletions
7
dwl.1
7
dwl.1
|
@ -6,6 +6,7 @@
|
||||||
.Nd dwm for Wayland
|
.Nd dwm for Wayland
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
|
.Op Fl v
|
||||||
.Op Fl s Ar command
|
.Op Fl s Ar command
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -15,6 +16,12 @@ It is intended to fill the same space in the Wayland world that
|
||||||
does for X11.
|
does for X11.
|
||||||
.Pp
|
.Pp
|
||||||
When given the
|
When given the
|
||||||
|
.Fl v
|
||||||
|
option,
|
||||||
|
.Nm
|
||||||
|
writes its name and version to standard error and exits unsuccessfully.
|
||||||
|
.Pp
|
||||||
|
When given the
|
||||||
.Fl s
|
.Fl s
|
||||||
option,
|
option,
|
||||||
.Nm
|
.Nm
|
||||||
|
|
2
dwl.c
2
dwl.c
|
@ -2536,5 +2536,5 @@ main(int argc, char *argv[])
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
||||||
usage:
|
usage:
|
||||||
die("Usage: %s [-s startup command]", argv[0]);
|
die("Usage: %s [-v] [-s startup command]", argv[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue