Convert manpage to mandoc and fix usage

In all honor, the previous usage was formally more correct, but for the
sake of consistency across all the tools having the v-flag, I separated
it from the command-string.

Also, make use of the mandoc macros for the manpage. This makes it
easier to maintain, extend and change in the future.
This commit is contained in:
FRIGN
2016-08-23 10:55:34 +02:00
committed by Markus Teich
parent d8bec0f6fd
commit a9eddbd94f
2 changed files with 27 additions and 29 deletions

View File

@@ -282,7 +282,7 @@ lockscreen(Display *dpy, int screen)
static void
usage(void)
{
die("usage: slock [-v | cmd [arg ...]]\n");
die("usage: slock [-v] [cmd [arg ...]]\n");
}
int