From a3a48ced1a2daac7d94908c61259d591338cb371 Mon Sep 17 00:00:00 2001 From: jacob Date: Sat, 24 Feb 2007 22:43:57 +0000 Subject: [PATCH] "-noagent" and friends should be marked SAVEABLE, to ensure they're not clobbered by "-load". git-svn-id: svn://svn.tartarus.org/sgt/putty@7320 cda61777-01e9-0310-a592-d414129be87e --- cmdline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmdline.c b/cmdline.c index 79f29816..3e890b78 100644 --- a/cmdline.c +++ b/cmdline.c @@ -322,12 +322,14 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg) !strcmp(p, "-pageant")) { RETURN(1); UNAVAILABLE_IN(TOOLTYPE_NONNETWORK); + SAVEABLE(0); cfg->tryagent = TRUE; } if (!strcmp(p, "-noagent") || !strcmp(p, "-nopagent") || !strcmp(p, "-nopageant")) { RETURN(1); UNAVAILABLE_IN(TOOLTYPE_NONNETWORK); + SAVEABLE(0); cfg->tryagent = FALSE; } -- 2.11.0