From 3dc7b805d3c5a5174b7dd431e4ac8099342c664f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 11 Apr 2011 16:44:36 +0000 Subject: [PATCH] -s comes before -t and also add -s to command syntax. Prompted by jmc. --- cmd-detach-client.c | 2 +- tmux.1 | 2 +- 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 -- 2.11.4.GIT