From: jacob Date: Wed, 28 Feb 2007 23:31:49 +0000 (+0000) Subject: Process -t/-T later than -m, so that they can override -m's default behaviour X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/e7cf948600071c77fae94f2257c0471e39450380?ds=sidebyside;hp=934dbf050b7f8043eab8f0f04365f18a6b9055f3 Process -t/-T later than -m, so that they can override -m's default behaviour of no pty. git-svn-id: svn://svn.tartarus.org/sgt/putty@7348 cda61777-01e9-0310-a592-d414129be87e --- 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; }