From b42572b62af8f40d1cf8a844c10413c9a2a01032 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 7 Aug 2002 19:09:33 +0000 Subject: [PATCH] Arrgh, we can't have -p for port number because we're already using it for preserving file attributes in PSCP! Ah well; looks as if that's one where we'll have to agree to differ with OpenSSH. git-svn-id: svn://svn.tartarus.org/sgt/putty@1821 cda61777-01e9-0310-a592-d414129be87e --- cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline.c b/cmdline.c index 05072a77..dab64062 100644 --- a/cmdline.c +++ b/cmdline.c @@ -222,7 +222,7 @@ int cmdline_process_param(char *p, char *value, int need_save) cfg.remote_cmd_ptr2 = NULL; cfg.nopty = TRUE; /* command => no terminal */ } - if (!strcmp(p, "-P") || !strcmp(p, "-p")) { + if (!strcmp(p, "-P")) { RETURN(2); SAVEABLE(2); /* lower priority than -ssh,-telnet */ cfg.port = atoi(value); -- 2.11.0