From: Michael Stapelberg Date: Sat, 10 Dec 2011 11:16:12 +0000 (+0000) Subject: add TYPE_GET_LOG_MARKERS to i3-msg X-Git-Tag: 4.2~194^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d25a05f06b44120b3a85a0090c4db15b70a904e9;p=i3%2Fi3 add TYPE_GET_LOG_MARKERS to i3-msg --- 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') {