From 2b0d1b02243e2d7f2b64ee1c69a39df5555a75ba Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 28 Feb 2007 23:31:49 +0000 Subject: [PATCH] Process -t/-T later than -m, so that they can override -m's default behaviour of no pty. [originally from svn r7348] --- cmdline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline.c b/cmdline.c index 033df64a..5b294578 100644 --- a/cmdline.c +++ b/cmdline.c @@ -374,13 +374,13 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg) if (!strcmp(p, "-t")) { RETURN(1); UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER | TOOLTYPE_NONNETWORK); - SAVEABLE(0); + SAVEABLE(1); /* lower priority than -m */ cfg->nopty = 0; } if (!strcmp(p, "-T")) { RETURN(1); UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER | TOOLTYPE_NONNETWORK); - SAVEABLE(0); + SAVEABLE(1); cfg->nopty = 1; }