From 5be501cb1811085ae897d61d47fcb892694069b7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 7 Aug 2002 18:43:40 +0000 Subject: [PATCH] Some of the new options shouldn't be available in the file transfer tools. git-svn-id: http://svn.tartarus.org/sgt/putty@1820 cda61777-01e9-0310-a592-d414129be87e --- cmdline.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmdline.c b/cmdline.c index 572a4335..05072a77 100644 --- a/cmdline.c +++ b/cmdline.c @@ -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; } -- 2.45.2