summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-04-11 16:44:37 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-04-11 16:44:37 +0000
commit452b6b6a684c254935cf8be604bbf2418939fc16 (patch)
tree88a58ed0296693ac36a298ce089072b4d725a6bf /usr.bin
parent1f96caad25e6014b8d8277ea556728d9d25233c1 (diff)
-s comes before -t and also add -s to command syntax. Prompted by jmc.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/cmd-detach-client.c4
-rw-r--r--usr.bin/tmux/tmux.14
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-detach-client.c b/usr.bin/tmux/cmd-detach-client.c
index 801ab7cf0c6..d305578380a 100644
--- a/usr.bin/tmux/cmd-detach-client.c
+++ b/usr.bin/tmux/cmd-detach-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-detach-client.c,v 1.8 2011/04/11 06:44:39 nicm Exp $ */
+/* $OpenBSD: cmd-detach-client.c,v 1.9 2011/04/11 16:44:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 0b309fee334..26f9d1e7411 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.218 2011/04/11 06:44:39 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.219 2011/04/11 16:44:36 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -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