diff options
author | 2009-11-13 19:53:28 +0000 | |
---|---|---|
committer | 2009-11-13 19:53:28 +0000 | |
commit | 0e9de5d4b318503e468d9cb019fbe84d03290ff0 (patch) | |
tree | fb80958bd389f443b9e6717b7ab267cb944ce7db /usr.bin/tmux/cmd-list-keys.c | |
parent | 1.8 broke things, back it out, correct fix coming from pjanzen (diff) | |
download | wireguard-openbsd-0e9de5d4b318503e468d9cb019fbe84d03290ff0.tar.xz wireguard-openbsd-0e9de5d4b318503e468d9cb019fbe84d03290ff0.zip |
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
command entry structs and a couple of functions to check/set the flags.
Diffstat (limited to 'usr.bin/tmux/cmd-list-keys.c')
-rw-r--r-- | usr.bin/tmux/cmd-list-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c index 2d2baa88552..70847ca8d81 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.8 2009/11/05 12:04:50 nicm Exp $ */ +/* $OpenBSD: cmd-list-keys.c,v 1.9 2009/11/13 19:53:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -33,7 +33,7 @@ int cmd_list_keys_table(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_list_keys_entry = { "list-keys", "lsk", "[-t key-table]", - 0, 0, + 0, "", cmd_target_init, cmd_target_parse, cmd_list_keys_exec, |