svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

commit d509e189d49f623a639837ac7de8a536d362acc6
parent d81fe4c879ceec2c8c861ccbef4a5d132bda4305
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 28 Mar 2021 15:19:38 +0200

usage already exits, remove exit(2)

This now exits with the same status 1.
Document exit status in the man page.

Diffstat:
Msvkbd.1 | 2++
Msvkbd.c | 1-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/svkbd.1 b/svkbd.1 @@ -105,6 +105,8 @@ The colour for keys when they are part of an overlay .It Ev svkbd.overlayshiftbackground The colour for the secondary label on keys when they are part of an overlay .El +.Sh EXIT STATUS +.Ex -std .Sh SEE ALSO .Xr XParseGeometry 3 .Sh AUTHORS diff --git a/svkbd.c b/svkbd.c @@ -1200,7 +1200,6 @@ main(int argc, char *argv[]) } else { fprintf(stderr, "Invalid argument: %s\n", argv[i]); usage(argv[0]); - exit(2); } }