From: Michael Stapelberg Date: Fri, 26 Mar 2010 19:07:03 +0000 (+0100) Subject: i3-msg: don’t stop processing options after -s X-Git-Tag: 3.e~6^2~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64b5985d5d0b421afeec2b4f32602750530083dd;p=i3%2Fi3 i3-msg: don’t stop processing options after -s --- diff --git a/i3-msg/main.c b/i3-msg/main.c index a1bdd72e..2a9caec8 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -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;