mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08: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>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -29,14 +29,9 @@
|
|||||||
|
|
||||||
int cmd_suspend_client_exec(struct cmd *, struct cmd_ctx *);
|
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 = {
|
const struct cmd_entry cmd_suspend_client_entry = {
|
||||||
"suspend-client", "suspendc",
|
"suspend-client", "suspendc",
|
||||||
"[-c target-client]",
|
CMD_TARGET_CLIENT_USAGE,
|
||||||
0, "",
|
0, "",
|
||||||
cmd_target_init,
|
cmd_target_init,
|
||||||
cmd_target_parse,
|
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>
|
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
.\"
|
.\"
|
||||||
@ -661,7 +661,7 @@ Start the
|
|||||||
.Nm
|
.Nm
|
||||||
server, if not already running, without creating any sessions.
|
server, if not already running, without creating any sessions.
|
||||||
.It Xo Ic suspend-client
|
.It Xo Ic suspend-client
|
||||||
.Op Fl c Ar target-client
|
.Op Fl t Ar target-client
|
||||||
.Xc
|
.Xc
|
||||||
.D1 (alias: Ic suspendc )
|
.D1 (alias: Ic suspendc )
|
||||||
Suspend a client by sending
|
Suspend a client by sending
|
||||||
|
Loading…
x
Reference in New Issue
Block a user