Merge pull request #2820 from hwangcc23/fix-2804
i3-msg: Return an exit code upon missing -t arg
This commit is contained in:
commit
2a918169f2
|
@ -180,6 +180,8 @@ int main(int argc, char *argv[]) {
|
|||
printf("i3-msg " I3_VERSION "\n");
|
||||
printf("i3-msg [-s <socket>] [-t <type>] <message>\n");
|
||||
return 0;
|
||||
} else if (o == '?') {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue