diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 11:24:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 11:24:45 +0000 |
commit | a4515ce138a7c5f275a7134018cfa28c76612321 (patch) | |
tree | ecad733df0e091725940e4b527fe2b2a554a9da1 | |
parent | f833b885a17463658d8d5e814a4b3e269c3678c9 (diff) | |
download | rtmux-a4515ce138a7c5f275a7134018cfa28c76612321.tar.gz rtmux-a4515ce138a7c5f275a7134018cfa28c76612321.tar.bz2 rtmux-a4515ce138a7c5f275a7134018cfa28c76612321.zip |
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.c | 7 | ||||
-rw-r--r-- | tmux.1 | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/cmd-suspend-client.c b/cmd-suspend-client.c index 5c166c37..b90121a0 100644 --- a/cmd-suspend-client.c +++ b/cmd-suspend-client.c @@ -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, @@ -657,7 +657,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 |