summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-12-09 23:17:35 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-12-09 23:17:35 +0000
commit3a0016a78a2d2bc77a4dc52fb03edbaf7b0a1ad3 (patch)
treedf118de7bccc0f781f252a2f93336f4568e9ae62 /cmd-new-session.c
parent3fa4f691e32482b2d07d16be84b6e22657f9c7dd (diff)
Use the CMD_*_USAGE defines consistently, from Thomas Adam.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index 0fcea353..ee161808 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -36,8 +36,8 @@ enum cmd_retval cmd_new_session_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_new_session_entry = {
"new-session", "new",
"dn:s:t:x:y:", 0, 1,
- "[-d] [-n window-name] [-s session-name] [-t target-session] "
- "[-x width] [-y height] [command]",
+ "[-d] [-n window-name] [-s session-name] " CMD_TARGET_SESSION_USAGE
+ " [-x width] [-y height] [command]",
CMD_STARTSERVER|CMD_CANTNEST|CMD_SENDENVIRON,
NULL,
cmd_new_session_check,