Use the CMD_*_USAGE defines consistently, from Thomas Adam.

This commit is contained in:
Nicholas Marriott
2012-12-09 23:17:35 +00:00
parent 3fa4f691e3
commit 3a0016a78a
8 changed files with 11 additions and 9 deletions

View File

@ -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,