summaryrefslogtreecommitdiffstats
path: root/cmd-suspend-client.c
diff options
context:
space:
mode:
authornicm <nicm>2009-07-14 06:43:32 +0000
committernicm <nicm>2009-07-14 06:43:32 +0000
commit2a601483e5b5484a9a9af712dc9d7f7eed88a30f (patch)
tree21d2624147477e15b5d150c0b5b60cf8f9deffaf /cmd-suspend-client.c
parenta2b431b90be2f7d6e00a2617becfa0e6491f74ec (diff)
downloadtmux-old-2a601483e5b5484a9a9af712dc9d7f7eed88a30f.tar.gz
tmux-old-2a601483e5b5484a9a9af712dc9d7f7eed88a30f.tar.bz2
tmux-old-2a601483e5b5484a9a9af712dc9d7f7eed88a30f.zip
Having fixed flags for single-character getopt options is a bit hard to
maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
Diffstat (limited to 'cmd-suspend-client.c')
-rw-r--r--cmd-suspend-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-suspend-client.c b/cmd-suspend-client.c
index 42475ddc..f0146b72 100644
--- a/cmd-suspend-client.c
+++ b/cmd-suspend-client.c
@@ -37,7 +37,7 @@ struct cmd_suspend_client_data {
const struct cmd_entry cmd_suspend_client_entry = {
"suspend-client", "suspendc",
"[-c target-client]",
- 0,
+ 0, 0,
cmd_target_init,
cmd_target_parse,
cmd_suspend_client_exec,