1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Process -t/-T later than -m, so that they can override -m's default behaviour

of no pty.

[originally from svn r7348]
This commit is contained in:
Jacob Nevins 2007-02-28 23:31:49 +00:00
parent a3ff37885d
commit 2b0d1b0224

View File

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