diff options
author | drkhsh <me@drkhsh.at> | 2023-05-15 19:14:52 +0200 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-05-16 02:48:17 +0100 |
commit | 21740f91adfdae92aa56e7ab4a36e08077a4973e (patch) | |
tree | 5a2d1174a57f978949da8f698fb32d98741ba055 /slstatus.c | |
parent | f7410b38e09e445f161f9a4fd2c1877b8c37c529 (diff) |
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 */ |