mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
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
f833b885a1
commit
a4515ce138
@ -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,
|
||||||
|
2
tmux.1
2
tmux.1
@ -657,7 +657,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…
Reference in New Issue
Block a user