aboutsummaryrefslogtreecommitdiff
path: root/cmd-suspend-client.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-03 23:33:12 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-03 23:33:12 +0000
commita0e7facee677c217231310788d189d32ddc8436e (patch)
treeab3b39c548aa7a33449229324bd4f73b624252f4 /cmd-suspend-client.c
parenta24b67fc5a750c6ea67e41a3b323eea8fa02a29e (diff)
downloadrtmux-a0e7facee677c217231310788d189d32ddc8436e.tar.gz
rtmux-a0e7facee677c217231310788d189d32ddc8436e.tar.bz2
rtmux-a0e7facee677c217231310788d189d32ddc8436e.zip
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.
Diffstat (limited to 'cmd-suspend-client.c')
-rw-r--r--cmd-suspend-client.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/cmd-suspend-client.c b/cmd-suspend-client.c
index 9a0f181c..d6d6f6cf 100644
--- a/cmd-suspend-client.c
+++ b/cmd-suspend-client.c
@@ -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,