-s comes before -t and also add -s to command syntax. Prompted by jmc.

pull/1/head
Nicholas Marriott 2011-04-11 16:44:36 +00:00
parent 735f87bc66
commit 3dc7b805d3
2 changed files with 2 additions and 2 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",
"s:t:P", 0, 0,
"[-P] " CMD_TARGET_CLIENT_USAGE,
"[-P] [-s target-session] " CMD_TARGET_CLIENT_USAGE,
CMD_READONLY,
NULL,
NULL,

2
tmux.1
View File

@ -575,8 +575,8 @@ recently used
session.
.It Xo Ic detach-client
.Op Fl P
.Op Fl t Ar target-client
.Op Fl s Ar target-session
.Op Fl t Ar target-client
.Xc
.D1 (alias: Ic detach )
Detach the current client if bound to a key, the client specified with