diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-10 11:39:33 -0500 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-10 11:39:33 -0500 | 
| commit | 063736f8981c5f71b816f4e8ab2ab54618c3ee8d (patch) | |
| tree | 3722a51d5efaecaea42bd594f4c731e4f60fc86e | |
| parent | d5a741c9b47f744428e75a76b9f5f6410acfbcf3 (diff) | |
add `-v` flag to the manpage
Thanks @Humm42
| -rw-r--r-- | dwl.1 | 7 | ||||
| -rw-r--r-- | dwl.c | 2 | 
2 files changed, 8 insertions, 1 deletions
| @@ -6,6 +6,7 @@  .Nd dwm for Wayland  .Sh SYNOPSIS  .Nm +.Op Fl v  .Op Fl s Ar command  .Sh DESCRIPTION  .Nm @@ -15,6 +16,12 @@ It is intended to fill the same space in the Wayland world that  does for X11.  .Pp  When given the +.Fl v +option, +.Nm +writes its name and version to standard error and exits unsuccessfully. +.Pp +When given the  .Fl s  option,  .Nm @@ -2536,5 +2536,5 @@ main(int argc, char *argv[])  	return EXIT_SUCCESS;  usage: -	die("Usage: %s [-s startup command]", argv[0]); +	die("Usage: %s [-v] [-s startup command]", argv[0]);  } | 
