Arrgh, we can't have -p for port number because we're already using
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Aug 2002 19:09:33 +0000 (19:09 +0000)
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

index 05072a7..dab6406 100644 (file)
--- 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;\r
        cfg.nopty = TRUE;      /* command => no terminal */\r
     }\r
-    if (!strcmp(p, "-P") || !strcmp(p, "-p")) {\r
+    if (!strcmp(p, "-P")) {\r
        RETURN(2);\r
        SAVEABLE(2);                   /* lower priority than -ssh,-telnet */\r
        cfg.port = atoi(value);\r