From: Simon Tatham Date: Wed, 7 Aug 2002 19:09:33 +0000 (+0000) Subject: Arrgh, we can't have -p for port number because we're already using X-Git-Tag: 0.53~40 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=54e93041114db7669dccfe37e007f96b09e8b246;p=PuTTY.git 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. [originally from svn r1821] --- 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);