mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-25 14:50:57 +01:00
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.
This commit is contained in:
parent
a24b67fc5a
commit
a0e7facee6
@ -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,
|
||||
|
4
tmux.1
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user