aboutsummaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2016-08-23 10:55:34 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-31 01:04:11 +0200
commita9eddbd94fb03a36186ef2b1e784468dfcddbc19 (patch)
tree7630149dbb1fcb05246e89fcdc563362582d5d94 /slock.c
parentd8bec0f6fdc8a246d78cb488a0068954b46fcb29 (diff)
downloadslock-a9eddbd94fb03a36186ef2b1e784468dfcddbc19.tar.gz
slock-a9eddbd94fb03a36186ef2b1e784468dfcddbc19.tar.xz
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.
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
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