version: Output newline

This commit is contained in:
Zach DeCook 2022-01-19 10:06:21 -05:00 committed by Maarten van Gompel
parent aa65896fbf
commit 905a0d100a

2
main.c
View File

@ -427,7 +427,7 @@ main(int argc, char **argv) {
int i;
for (i = 1; argv[i]; i++) {
if ((!strcmp(argv[i], "-v")) || (!strcmp(argv[i], "--version"))) {
printf("wvkbd-%s", VERSION);
printf("wvkbd-%s\n", VERSION);
exit(0);
} else if ((!strcmp(argv[i], "-h")) || (!strcmp(argv[i], "--help"))) {
usage(argv[0]);