all repos — slstatus @ 00ce7a746ab0630e7d3b84288307435c6d62610a

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

Print usage() when we are left with arguments
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 22:23:55 +0200
commit

00ce7a746ab0630e7d3b84288307435c6d62610a

parent

c9d47405f4ab3cf99d7d2116fbb7622c02a27e5e

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M slstatus.cslstatus.c

@@ -861,6 +861,10 @@ default:

usage(); } ARGEND + if (argc) { + usage(); + } + memset(&act, 0, sizeof(act)); act.sa_handler = sighandler; sigaction(SIGINT, &act, 0);