From d818d8053b700cc24a249e3284f4ea55f143b511 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 15 Dec 2015 00:52:18 +0000 Subject: Allow list-keys and list-commands to be run without a running server. --- usr.bin/tmux/cmd-list-keys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c index 97c7d178de5..d9396d71280 100644 --- a/usr.bin/tmux/cmd-list-keys.c +++ b/usr.bin/tmux/cmd-list-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-keys.c,v 1.32 2015/12/13 21:53:57 nicm Exp $ */ +/* $OpenBSD: cmd-list-keys.c,v 1.33 2015/12/15 00:52:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -39,7 +39,7 @@ const struct cmd_entry cmd_list_keys_entry = { .args = { "t:T:", 0, 0 }, .usage = "[-t mode-table] [-T key-table]", - .flags = 0, + .flags = CMD_STARTSERVER, .exec = cmd_list_keys_exec }; @@ -50,7 +50,7 @@ const struct cmd_entry cmd_list_commands_entry = { .args = { "", 0, 0 }, .usage = "", - .flags = 0, + .flags = CMD_STARTSERVER, .exec = cmd_list_keys_exec }; -- cgit v1.2.3