1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-22 14:39:24 -05:00

Fix up documentation/usage messages for r6572.

[originally from svn r6574]
[r6572 == c2b2d9c5390272d05cea55271db130a24281d81f]
This commit is contained in:
Jacob Nevins 2006-02-19 12:52:28 +00:00
parent c2b2d9c539
commit 5e59d81947
7 changed files with 15 additions and 6 deletions

View File

@ -43,7 +43,7 @@ use Plink:
\c Z:\sysosd>plink \c Z:\sysosd>plink
\c PuTTY Link: command-line connection utility \c PuTTY Link: command-line connection utility
\c Release 0.58 \c Release 0.XX
\c Usage: plink [options] [user@]host [command] \c Usage: plink [options] [user@]host [command]
\c ("host" can also be a PuTTY saved session name) \c ("host" can also be a PuTTY saved session name)
\c Options: \c Options:
@ -71,6 +71,8 @@ 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 -noagent disable use of Pageant
\c -agent enable use of Pageant
\c -m file read remote command(s) from file \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)

View File

@ -41,7 +41,7 @@ use PSCP:
\c Z:\owendadmin>pscp \c Z:\owendadmin>pscp
\c PuTTY Secure Copy client \c PuTTY Secure Copy client
\c Release 0.58 \c Release 0.XX
\c Usage: pscp [options] [user@]host:source target \c Usage: pscp [options] [user@]host:source target
\c pscp [options] source [source...] [user@]host:target \c pscp [options] source [source...] [user@]host:target
\c pscp [options] -ls [user@]host:filespec \c pscp [options] -ls [user@]host:filespec
@ -60,6 +60,8 @@ use PSCP:
\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 -noagent disable use of Pageant
\c -agent enable use of Pageant
\c -batch disable all interactive prompts \c -batch disable all interactive prompts
\c -unsafe allow server-side wildcards (DANGEROUS) \c -unsafe allow server-side wildcards (DANGEROUS)
\c -sftp force use of SFTP protocol \c -sftp force use of SFTP protocol

View File

@ -692,15 +692,12 @@ The \c{-agent} option turns on SSH authentication using Pageant, and
\c{-noagent} turns it off. These options are only meaningful if you \c{-noagent} turns it off. These options are only meaningful if you
are using SSH. are using SSH.
See \k{pageant} for general information on \i{Pageant} See \k{pageant} for general information on \i{Pageant}.
These options are equivalent to the agent authentication checkbox in These options are equivalent to the agent authentication checkbox in
the Auth panel of the PuTTY configuration box (see the Auth panel of the PuTTY configuration box (see
\k{config-ssh-tryagent}). \k{config-ssh-tryagent}).
These options are not available in the file transfer tools PSCP and
PSFTP.
\S2{using-cmdline-agent} \I{-A-upper}\c{-A} and \i\c{-a}: control \i{agent \S2{using-cmdline-agent} \I{-A-upper}\c{-A} and \i\c{-a}: control \i{agent
forwarding} forwarding}

2
pscp.c
View File

@ -2159,6 +2159,8 @@ 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(" -noagent disable use of Pageant\n");
printf(" -agent enable use of Pageant\n");
printf(" -batch disable all interactive prompts\n"); printf(" -batch disable all interactive prompts\n");
printf(" -unsafe allow server-side wildcards (DANGEROUS)\n"); printf(" -unsafe allow server-side wildcards (DANGEROUS)\n");
printf(" -sftp force use of SFTP protocol\n"); printf(" -sftp force use of SFTP protocol\n");

View File

@ -2595,6 +2595,8 @@ 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(" -noagent disable use of Pageant\n");
printf(" -agent enable use of Pageant\n");
printf(" -batch disable all interactive prompts\n"); printf(" -batch disable all interactive prompts\n");
cleanup_exit(1); cleanup_exit(1);
} }

View File

@ -527,6 +527,8 @@ 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(" -noagent disable use of Pageant\n");
printf(" -agent enable use of Pageant\n");
printf(" -m file read remote command(s) from file\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");

View File

@ -255,6 +255,8 @@ 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(" -noagent disable use of Pageant\n");
printf(" -agent enable use of Pageant\n");
printf(" -m file read remote command(s) from file\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");