summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-04-11 16:44:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-04-11 16:44:36 +0000
commit3dc7b805d3c5a5174b7dd431e4ac8099342c664f (patch)
tree613bd05cf49a1e7e005e004e4625ca9bb5d7591a
parent735f87bc668f72fa8c62e579fda82cca2a27f48e (diff)
-s comes before -t and also add -s to command syntax. Prompted by jmc.
-rw-r--r--cmd-detach-client.c2
-rw-r--r--tmux.12
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd-detach-client.c b/cmd-detach-client.c
index b9a2a910..d8642757 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",
"s:t:P", 0, 0,
- "[-P] " CMD_TARGET_CLIENT_USAGE,
+ "[-P] [-s target-session] " CMD_TARGET_CLIENT_USAGE,
CMD_READONLY,
NULL,
NULL,
diff --git a/tmux.1 b/tmux.1
index 3450418c..af0469c8 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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