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); }