mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 15:18:06 -05:00
Some of the new options shouldn't be available in the file transfer
tools. [originally from svn r1820]
This commit is contained in:
parent
1f0b28b305
commit
b844f3c0bf
@ -236,33 +236,39 @@ int cmdline_process_param(char *p, char *value, int need_save)
|
||||
|
||||
if (!strcmp(p, "-A")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.agentfwd = 1;
|
||||
}
|
||||
if (!strcmp(p, "-a")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.agentfwd = 0;
|
||||
}
|
||||
|
||||
if (!strcmp(p, "-X")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.x11_forward = 1;
|
||||
}
|
||||
if (!strcmp(p, "-x")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.x11_forward = 0;
|
||||
}
|
||||
|
||||
if (!strcmp(p, "-t")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.nopty = 0;
|
||||
}
|
||||
if (!strcmp(p, "-T")) {
|
||||
RETURN(1);
|
||||
UNAVAILABLE_IN(TOOLTYPE_FILETRANSFER);
|
||||
SAVEABLE(1);
|
||||
cfg.nopty = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user