aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-03 23:33:12 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-03 23:33:12 +0000
commita0e7facee677c217231310788d189d32ddc8436e (patch)
treeab3b39c548aa7a33449229324bd4f73b624252f4
parenta24b67fc5a750c6ea67e41a3b323eea8fa02a29e (diff)
downloadrtmux-a0e7facee677c217231310788d189d32ddc8436e.tar.gz
rtmux-a0e7facee677c217231310788d189d32ddc8436e.tar.bz2
rtmux-a0e7facee677c217231310788d189d32ddc8436e.zip
Sync OpenBSD patchset 825:
suspend-client has used -t for the client target (like everything else) for ages, fix the usage string and man page and trim some leftover code.
-rw-r--r--cmd-suspend-client.c9
-rw-r--r--tmux.14
2 files changed, 4 insertions, 9 deletions
diff --git a/cmd-suspend-client.c b/cmd-suspend-client.c
index 9a0f181c..d6d6f6cf 100644
--- a/cmd-suspend-client.c
+++ b/cmd-suspend-client.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-suspend-client.c,v 1.5 2009-11-14 17:56:39 tcunha Exp $ */
+/* $Id: cmd-suspend-client.c,v 1.6 2011-01-03 23:33:12 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -29,14 +29,9 @@
int cmd_suspend_client_exec(struct cmd *, struct cmd_ctx *);
-struct cmd_suspend_client_data {
- char *name;
- char *target;
-};
-
const struct cmd_entry cmd_suspend_client_entry = {
"suspend-client", "suspendc",
- "[-c target-client]",
+ CMD_TARGET_CLIENT_USAGE,
0, "",
cmd_target_init,
cmd_target_parse,
diff --git a/tmux.1 b/tmux.1
index 7b714928..99917589 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.284 2011-01-03 23:29:09 tcunha Exp $
+.\" $Id: tmux.1,v 1.285 2011-01-03 23:33:12 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -661,7 +661,7 @@ Start the
.Nm
server, if not already running, without creating any sessions.
.It Xo Ic suspend-client
-.Op Fl c Ar target-client
+.Op Fl t Ar target-client
.Xc
.D1 (alias: Ic suspendc )
Suspend a client by sending