From 0e6dda87b605338f3ac85b88c9d040c88daefcad Mon Sep 17 00:00:00 2001 From: Frank Li Date: Mon, 25 May 2009 15:02:02 +0800 Subject: [PATCH] Add option -p for TortoisePlink. -p the same as -P Signed-off-by: Frank Li --- src/TortoisePlink/CMDLINE.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TortoisePlink/CMDLINE.C b/src/TortoisePlink/CMDLINE.C index 19a25be..87b119d 100644 --- a/src/TortoisePlink/CMDLINE.C +++ b/src/TortoisePlink/CMDLINE.C @@ -306,7 +306,7 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg) cfg->remote_cmd_ptr2 = NULL; cfg->nopty = TRUE; /* command => no terminal */ } - if (!strcmp(p, "-P")) { + if ((!strcmp(p, "-P"))||(!strcmp(p, "-p"))) { RETURN(2); UNAVAILABLE_IN(TOOLTYPE_NONNETWORK); SAVEABLE(1); /* lower priority than -ssh,-telnet */ -- 2.11.0