diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-02-06 22:55:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-02-06 22:55:31 +0000 |
commit | bb53c20c1882cbc909d4fe2ae3c6ad665da6abf6 (patch) | |
tree | 345afb7897f7639b2c8981674e064d976f68ab57 /cmd-detach-client.c | |
parent | 0a86d3579edb44ee559cfe6498f43d6637a08bd9 (diff) | |
download | rtmux-bb53c20c1882cbc909d4fe2ae3c6ad665da6abf6.tar.gz rtmux-bb53c20c1882cbc909d4fe2ae3c6ad665da6abf6.tar.bz2 rtmux-bb53c20c1882cbc909d4fe2ae3c6ad665da6abf6.zip |
Support attaching a client read-only with a new -r flag to the attach-session
command.
Diffstat (limited to 'cmd-detach-client.c')
-rw-r--r-- | cmd-detach-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-detach-client.c b/cmd-detach-client.c index 4903281f..a2288036 100644 --- a/cmd-detach-client.c +++ b/cmd-detach-client.c @@ -29,7 +29,7 @@ int cmd_detach_client_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_detach_client_entry = { "detach-client", "detach", CMD_TARGET_CLIENT_USAGE, - 0, "", + CMD_READONLY, "", cmd_target_init, cmd_target_parse, cmd_detach_client_exec, |