diff options
author | drkhsh <me@drkhsh.at> | 2023-05-15 19:14:52 +0200 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2023-05-15 19:16:12 +0200 |
commit | 86c7a84c2397e5bbdcebe2a06bada7ee48f0d480 (patch) | |
tree | 5a2d1174a57f978949da8f698fb32d98741ba055 /slstatus.c | |
parent | 483169021ba996f59a97b4e3b74cee7e43d6ab6f (diff) | |
download | slstatus-86c7a84c2397e5bbdcebe2a06bada7ee48f0d480.tar.gz |
Add back version flag to prepare for release
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -41,7 +41,7 @@ difftimespec(struct timespec *res, struct timespec *a, struct timespec *b) static void usage(void) { - die("usage: %s [-s] [-1]", argv0); + die("usage: %s [-v] [-s] [-1]", argv0); } int @@ -56,6 +56,8 @@ main(int argc, char *argv[]) sflag = 0; ARGBEGIN { + case 'v': + die("slstatus-"VERSION); case '1': done = 1; /* FALLTHROUGH */ |