Support attaching a client read-only with a new -r flag to the attach-session

command.
This commit is contained in:
Nicholas Marriott
2010-02-06 22:55:31 +00:00
parent 0a86d3579e
commit bb53c20c18
6 changed files with 42 additions and 14 deletions

View File

@ -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,