Exit with success on -h
This commit is contained in:
parent
d21c3a09f4
commit
f7aee6b908
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue