From d25a05f06b44120b3a85a0090c4db15b70a904e9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 10 Dec 2011 11:16:12 +0000 Subject: [PATCH] add TYPE_GET_LOG_MARKERS to i3-msg --- i3-msg/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i3-msg/main.c b/i3-msg/main.c index 6a3b29d3..e16f6943 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -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') {