From 8ec3e5725cd4b64b05223e885b2b4d5618bf46da Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 3 Feb 2011 20:50:03 +0000 Subject: [PATCH] Don't require -d with -x or -y since it could be in the config file. --- cmd-new-session.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd-new-session.c b/cmd-new-session.c index 1aa1c087..f5e1316f 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -49,9 +49,6 @@ cmd_new_session_check(struct args *args) { if (args_has(args, 't') && (args->argc != 0 || args_has(args, 'n'))) return (-1); - if (!args_has(args, 'd') && - (args_has(args, 'x') || args_has(args, 'y'))) - return (-1); return (0); }