X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=cmdline.c;h=dab64062b26d8a7814a477abef1741ae06e65a0b;hb=4abd468e14d110f2085f7a693687a9c19e1d47e1;hp=05072a774d3da63b845650a7cc86cd3fa2aa8f2c;hpb=b844f3c0bf36de574c7cc7e2cb4c1aa86e7e41c0;p=PuTTY.git 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);