commit e8dac536c7a8ec3c0179bff482a371ef26aa3135 parent 398cdd0520c7298106c20f22370d8beea563c317 Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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();