From a9eddbd94fb03a36186ef2b1e784468dfcddbc19 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Tue, 23 Aug 2016 10:55:34 +0200 Subject: 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. --- slock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slock.c') diff --git a/slock.c b/slock.c index 8ed59ca..3e2ab8f 100644 --- a/slock.c +++ b/slock.c @@ -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 -- cgit v1.2.3-70-g09d2