write version to stdout like the man page says
This commit is contained in:
parent
ca6f30f621
commit
e8bca65d62
1 changed files with 1 additions and 1 deletions
2
slock.c
2
slock.c
|
@ -317,7 +317,7 @@ main(int argc, char **argv) {
|
|||
|
||||
ARGBEGIN {
|
||||
case 'v':
|
||||
fprintf(stderr, "slock-"VERSION"\n");
|
||||
puts("slock-"VERSION);
|
||||
return 0;
|
||||
default:
|
||||
usage();
|
||||
|
|
Loading…
Reference in a new issue