diff options
author | 2011-01-01 11:24:45 +0000 | |
---|---|---|
committer | 2011-01-01 11:24:45 +0000 | |
commit | 162de4a9dd26a40db22b5075f7376c71179e34bb (patch) | |
tree | 92da9d00d5c287302f7de57a6c6b6da1a1b8c59c | |
parent | add code to read OTPROM on the AR9485 (diff) | |
download | wireguard-openbsd-162de4a9dd26a40db22b5075f7376c71179e34bb.tar.xz wireguard-openbsd-162de4a9dd26a40db22b5075f7376c71179e34bb.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-- | usr.bin/tmux/cmd-suspend-client.c | 9 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.1 | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/usr.bin/tmux/cmd-suspend-client.c b/usr.bin/tmux/cmd-suspend-client.c index 95ce78b0cf3..6b725267966 100644 --- a/usr.bin/tmux/cmd-suspend-client.c +++ b/usr.bin/tmux/cmd-suspend-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-suspend-client.c,v 1.4 2009/11/13 19:53:29 nicm Exp $ */ +/* $OpenBSD: cmd-suspend-client.c,v 1.5 2011/01/01 11:24:45 nicm 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/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 159042bd44a..75fee39d086 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.201 2011/01/01 01:33:07 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.202 2011/01/01 11:24:45 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -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 |