]> git.sur5r.net Git - i3/i3/commitdiff
i3-msg: don’t stop processing options after -s
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 26 Mar 2010 19:07:03 +0000 (20:07 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 26 Mar 2010 19:07:03 +0000 (20:07 +0100)
i3-msg/main.c

index a1bdd72e0f0d93f368e0bd6c3f90fe24e44e1039..2a9caec89861460d839c59b18d4abb421775bd8c 100644 (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;