Introduction
Introduction Statistics Contact Development Disclaimer Help
write version to stdout like the man page says - slock - simple X display locke…
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit e8bca65d629a4faa89439c9f0e599efb5a259573
parent ca6f30f621c1195b577ace7a14b9037fab0dab91
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 6 Oct 2023 11:50:11 +0200
write version to stdout like the man page says
Diffstat:
M slock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slock.c b/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();
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.