]> git.sur5r.net Git - i3/i3/commitdiff
add TYPE_GET_LOG_MARKERS to i3-msg
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 10 Dec 2011 11:16:12 +0000 (11:16 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 10 Dec 2011 11:16:12 +0000 (11:16 +0000)
i3-msg/main.c

index 6a3b29d3eb77bad86150d88fd8a0431055423396..e16f694355900ace0805ce1c2fe794c3d4db4b4a 100644 (file)
@@ -73,9 +73,11 @@ int main(int argc, char *argv[]) {
                 message_type = I3_IPC_MESSAGE_TYPE_GET_MARKS;
             else if (strcasecmp(optarg, "get_bar_config") == 0)
                 message_type = I3_IPC_MESSAGE_TYPE_GET_BAR_CONFIG;
+            else if (strcasecmp(optarg, "get_log_markers") == 0)
+                message_type = I3_IPC_MESSAGE_TYPE_GET_LOG_MARKERS;
             else {
                 printf("Unknown message type\n");
-                printf("Known types: command, get_workspaces, get_outputs, get_tree, get_marks, get_bar_config\n");
+                printf("Known types: command, get_workspaces, get_outputs, get_tree, get_marks, get_bar_config, get_log_markers\n");
                 exit(EXIT_FAILURE);
             }
         } else if (o == 'q') {