1
0
mirror of git://git.suckless.org/svkbd synced 2024-12-21 21:50:11 +00:00

usage already exits, remove exit(2)

This now exits with the same status 1.
Document exit status in the man page.
This commit is contained in:
Hiltjo Posthuma 2021-03-28 15:19:38 +02:00
parent d81fe4c879
commit d509e189d4
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -1200,7 +1200,6 @@ main(int argc, char *argv[])
} else {
fprintf(stderr, "Invalid argument: %s\n", argv[i]);
usage(argv[0]);
exit(2);
}
}