i3-msg: don’t stop processing options after -s

This commit is contained in:
Michael Stapelberg 2010-03-26 20:07:03 +01:00
parent 41b6631f68
commit 64b5985d5d

View File

@ -127,7 +127,6 @@ int main(int argc, char *argv[]) {
while ((o = getopt_long(argc, argv, options_string, long_options, &option_index)) != -1) {
if (o == 's') {
socket_path = strdup(optarg);
break;
} else if (o == 't') {
if (strcasecmp(optarg, "command") == 0)
message_type = I3_IPC_MESSAGE_TYPE_COMMAND;