diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-10-06 11:50:11 +0200 | 
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-10-06 11:50:11 +0200 | 
| commit | e8bca65d629a4faa89439c9f0e599efb5a259573 (patch) | |
| tree | 35764012d6f0155ecd1c158c8bf4b062e2bd5ba5 | |
| parent | ca6f30f621c1195b577ace7a14b9037fab0dab91 (diff) | |
| download | slock-e8bca65d629a4faa89439c9f0e599efb5a259573.tar.gz slock-e8bca65d629a4faa89439c9f0e599efb5a259573.tar.xz | |
write version to stdout like the man page says
| -rw-r--r-- | slock.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -317,7 +317,7 @@ main(int argc, char **argv) {  	ARGBEGIN {  	case 'v': -		fprintf(stderr, "slock-"VERSION"\n"); +		puts("slock-"VERSION);  		return 0;  	default:  		usage(); | 
