diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-05-20 20:55:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-20 20:55:22 +0000 |
| commit | e4f6dca31f3a77d0b9c268e3b7ce4139b6fa71a0 (patch) | |
| tree | 8ebfb39688b2744ddb5cc0d33b3c8510f065fc72 /slstatus.c | |
| parent | 8ee4bd60785b6a0078e15b80b27136f8536448e1 (diff) | |
update to slstatus 1.1
Diffstat (limited to 'slstatus.c')
| -rw-r--r-- | slstatus.c | 5 |
1 files changed, 4 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,9 @@ main(int argc, char *argv[]) sflag = 0; ARGBEGIN { + case 'v': + die("slstatus-"VERSION); + break; case '1': done = 1; /* FALLTHROUGH */ |
