Exit with success on -h

This commit is contained in:
Orestis Floros
2020-01-16 09:21:16 +01:00
parent d21c3a09f4
commit f7aee6b908

View File

@ -429,7 +429,7 @@ int main(int argc, char *argv[]) {
"\ti3 floating toggle\n"
"\ti3 kill window\n"
"\n");
exit(EXIT_FAILURE);
exit(opt == 'h' ? EXIT_SUCCESS : EXIT_FAILURE);
}
}