X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/7374c7790ee32f36855e4257eb15d2fe43e277ea..5fd93688718a6863178df7e398382c3afc416ebd:/windows/winplink.c diff --git a/windows/winplink.c b/windows/winplink.c index 562d26af..fbeb538f 100644 --- a/windows/winplink.c +++ b/windows/winplink.c @@ -179,6 +179,8 @@ static void usage(void) printf(" -m file read remote command(s) from file\n"); printf(" -s remote command is an SSH subsystem (SSH-2 only)\n"); printf(" -N don't start a shell/command (SSH-2 only)\n"); + printf(" -nc host:port\n"); + printf(" open tunnel in place of session (SSH-2 only)\n"); exit(1); } @@ -502,7 +504,7 @@ int main(int argc, char **argv) cfg.host[p1] = '\0'; } - if (!cfg.remote_cmd_ptr && !*cfg.remote_cmd) + if (!cfg.remote_cmd_ptr && !*cfg.remote_cmd && !*cfg.ssh_nc_host) flags |= FLAG_INTERACTIVE; /*