mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Make it clearer that `-m' is only usable with SSH.
[originally from svn r5416]
This commit is contained in:
parent
182a511ec3
commit
f538bd6d4c
@ -54,7 +54,6 @@ use Plink:
|
|||||||
\c force use of a particular protocol
|
\c force use of a particular protocol
|
||||||
\c -P port connect to specified port
|
\c -P port connect to specified port
|
||||||
\c -l user connect with specified username
|
\c -l user connect with specified username
|
||||||
\c -m file read remote command(s) from file
|
|
||||||
\c -batch disable all interactive prompts
|
\c -batch disable all interactive prompts
|
||||||
\c The following options only apply to SSH connections:
|
\c The following options only apply to SSH connections:
|
||||||
\c -pw passw login with specified password
|
\c -pw passw login with specified password
|
||||||
@ -71,6 +70,7 @@ use Plink:
|
|||||||
\c -4 -6 force use of IPv4 or IPv6
|
\c -4 -6 force use of IPv4 or IPv6
|
||||||
\c -C enable compression
|
\c -C enable compression
|
||||||
\c -i key private key file for authentication
|
\c -i key private key file for authentication
|
||||||
|
\c -m file read remote command(s) from file
|
||||||
\c -s remote command is an SSH subsystem (SSH-2 only)
|
\c -s remote command is an SSH subsystem (SSH-2 only)
|
||||||
\c -N don't start a shell/command (SSH-2 only)
|
\c -N don't start a shell/command (SSH-2 only)
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ static void usage(void)
|
|||||||
printf(" force use of a particular protocol\n");
|
printf(" force use of a particular protocol\n");
|
||||||
printf(" -P port connect to specified port\n");
|
printf(" -P port connect to specified port\n");
|
||||||
printf(" -l user connect with specified username\n");
|
printf(" -l user connect with specified username\n");
|
||||||
printf(" -m file read remote command(s) from file\n");
|
|
||||||
printf(" -batch disable all interactive prompts\n");
|
printf(" -batch disable all interactive prompts\n");
|
||||||
printf("The following options only apply to SSH connections:\n");
|
printf("The following options only apply to SSH connections:\n");
|
||||||
printf(" -pw passw login with specified password\n");
|
printf(" -pw passw login with specified password\n");
|
||||||
@ -234,6 +233,7 @@ static void usage(void)
|
|||||||
printf(" -4 -6 force use of IPv4 or IPv6\n");
|
printf(" -4 -6 force use of IPv4 or IPv6\n");
|
||||||
printf(" -C enable compression\n");
|
printf(" -C enable compression\n");
|
||||||
printf(" -i key private key file for authentication\n");
|
printf(" -i key private key file for authentication\n");
|
||||||
|
printf(" -m file read remote command(s) from file\n");
|
||||||
printf(" -s remote command is an SSH subsystem (SSH-2 only)\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(" -N don't start a shell/command (SSH-2 only)\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -217,7 +217,6 @@ static void usage(void)
|
|||||||
printf(" force use of a particular protocol\n");
|
printf(" force use of a particular protocol\n");
|
||||||
printf(" -P port connect to specified port\n");
|
printf(" -P port connect to specified port\n");
|
||||||
printf(" -l user connect with specified username\n");
|
printf(" -l user connect with specified username\n");
|
||||||
printf(" -m file read remote command(s) from file\n");
|
|
||||||
printf(" -batch disable all interactive prompts\n");
|
printf(" -batch disable all interactive prompts\n");
|
||||||
printf("The following options only apply to SSH connections:\n");
|
printf("The following options only apply to SSH connections:\n");
|
||||||
printf(" -pw passw login with specified password\n");
|
printf(" -pw passw login with specified password\n");
|
||||||
@ -234,6 +233,7 @@ static void usage(void)
|
|||||||
printf(" -4 -6 force use of IPv4 or IPv6\n");
|
printf(" -4 -6 force use of IPv4 or IPv6\n");
|
||||||
printf(" -C enable compression\n");
|
printf(" -C enable compression\n");
|
||||||
printf(" -i key private key file for authentication\n");
|
printf(" -i key private key file for authentication\n");
|
||||||
|
printf(" -m file read remote command(s) from file\n");
|
||||||
printf(" -s remote command is an SSH subsystem (SSH-2 only)\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(" -N don't start a shell/command (SSH-2 only)\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user