X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/3233f3af6099c477cd4a6721a44eb7f74eec02bf..b42572b62af8f40d1cf8a844c10413c9a2a01032:/cmdline.c 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);