all repos — slstatus @ 14749b6c878f231a1120fc750d38f0c4383090a1

my build of slstatus (tools.suckless.org/slstatus/)

added -v command line option
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:03:53 +0200
commit

14749b6c878f231a1120fc750d38f0c4383090a1

parent

dcc0cddee4457d88528b75bab2d6705ff06770d9

2 files changed, 7 insertions(+), 1 deletions(-)

jump to
M slstatus.1slstatus.1

@@ -16,6 +16,9 @@ displays usage

.TP .B \-o output to console instead of WM_NAME +.TP +.B \-v +display version and copyright details .SH CUSTOMIZATION .B slstatus can be customized by creating a custom config.h and (re)compiling the source
M slstatus.cslstatus.c

@@ -592,7 +592,7 @@

static void usage(void) { - fprintf(stderr, "usage: %s [-dho]\n", argv0); + fprintf(stderr, "usage: %s [-dhov]\n", argv0); exit(1); }

@@ -612,6 +612,9 @@ break;

case 'o': oflag = 1; break; + case 'v': + printf("%s version %s (c) 2016 slstatus engineers\n", argv0, VERSION); + return 0; default: usage(); } ARGEND