From c9a13be6afd980b5e3255216cbc9945627ca4eaf Mon Sep 17 00:00:00 2001 From: jacob Date: Sat, 24 Apr 2004 12:25:09 +0000 Subject: [PATCH] Tweak documentation of -V option. git-svn-id: svn://svn.tartarus.org/sgt/putty@4132 cda61777-01e9-0310-a592-d414129be87e --- doc/man-pl.but | 4 ++++ doc/man-pscp.but | 4 ++++ doc/man-psft.but | 4 ++++ doc/plink.but | 5 +++-- doc/pscp.but | 5 +++-- plink.c | 2 +- unix/uxplink.c | 2 +- 7 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/man-pl.but b/doc/man-pl.but index 127bda7d..c2654728 100644 --- a/doc/man-pl.but +++ b/doc/man-pl.but @@ -19,6 +19,10 @@ The command-line options supported by \cw{plink} are: +\dt \cw{-V} + +\dd Show version information and exit. + \dt \cw{-v} \dd Show verbose messages. diff --git a/doc/man-pscp.but b/doc/man-pscp.but index e628def9..6672887e 100644 --- a/doc/man-pscp.but +++ b/doc/man-pscp.but @@ -24,6 +24,10 @@ copy) and SFTP (secure file transfer protocol) protocols. The command-line options supported by \e{pscp} are: +\dt \cw{-V} + +\dd Show version information and exit. + \dt \cw{-ls} \dd Remote directory listing. diff --git a/doc/man-psft.but b/doc/man-psft.but index 118d1575..5375f6f7 100644 --- a/doc/man-psft.but +++ b/doc/man-psft.but @@ -20,6 +20,10 @@ The command-line options supported by \cw{psftp} are: +\dt \cw{-V} + +\dd Show version information and exit. + \dt \cw{-b} \e{batchfile} \dd Use specified batchfile. diff --git a/doc/plink.but b/doc/plink.but index a8aa1705..971ef7ce 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -1,4 +1,4 @@ -\versionid $Id: plink.but,v 1.21 2004/02/07 18:17:50 simon Exp $ +\versionid $Id: plink.but,v 1.22 2004/04/24 12:25:08 jacob Exp $ \C{plink} Using the command-line connection tool Plink @@ -43,10 +43,11 @@ use Plink: \c Z:\sysosd>plink \c PuTTY Link: command-line connection utility -\c Release 0.54 +\c Release 0.XX \c Usage: plink [options] [user@]host [command] \c ("host" can also be a PuTTY saved session name) \c Options: +\c -V show version information \c -v show verbose messages \c -load sessname Load settings from saved session \c -ssh -telnet -rlogin -raw diff --git a/doc/pscp.but b/doc/pscp.but index 876a1ba7..c4ccc644 100644 --- a/doc/pscp.but +++ b/doc/pscp.but @@ -1,4 +1,4 @@ -\versionid $Id: pscp.but,v 1.25 2004/02/22 14:48:48 jacob Exp $ +\versionid $Id: pscp.but,v 1.26 2004/04/24 12:25:08 jacob Exp $ \#FIXME: Need examples @@ -41,7 +41,7 @@ use PSCP: \c Z:\owendadmin>pscp \c PuTTY Secure Copy client -\c Release 0.54 +\c Release 0.XX \c Usage: pscp [options] [user@]host:source target \c pscp [options] source [source...] [user@]host:target \c pscp [options] -ls [user@]host:filespec @@ -59,6 +59,7 @@ use PSCP: \c -i key private key file for authentication \c -batch disable all interactive prompts \c -unsafe allow server-side wildcards (DANGEROUS) +\c -V print version information (PSCP's interface is much like the Unix \c{scp} command, if you're familiar with that.) diff --git a/plink.c b/plink.c index d92b6c64..e049d254 100644 --- a/plink.c +++ b/plink.c @@ -210,6 +210,7 @@ static void usage(void) printf("Usage: plink [options] [user@]host [command]\n"); printf(" (\"host\" can also be a PuTTY saved session name)\n"); printf("Options:\n"); + printf(" -V print version information\n"); printf(" -v show verbose messages\n"); printf(" -load sessname Load settings from saved session\n"); printf(" -ssh -telnet -rlogin -raw\n"); @@ -233,7 +234,6 @@ static void usage(void) printf(" -C enable compression\n"); printf(" -i key private key file for authentication\n"); printf(" -s remote command is an SSH subsystem (SSH-2 only)\n"); - printf(" -V print version information\n"); exit(1); } diff --git a/unix/uxplink.c b/unix/uxplink.c index 1f09409e..e59a701b 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -208,6 +208,7 @@ static void usage(void) printf("Usage: plink [options] [user@]host [command]\n"); printf(" (\"host\" can also be a PuTTY saved session name)\n"); printf("Options:\n"); + printf(" -V print version information\n"); printf(" -v show verbose messages\n"); printf(" -load sessname Load settings from saved session\n"); printf(" -ssh -telnet -rlogin -raw\n"); @@ -231,7 +232,6 @@ static void usage(void) printf(" -C enable compression\n"); printf(" -i key private key file for authentication\n"); printf(" -s remote command is an SSH subsystem (SSH-2 only)\n"); - printf(" -V print version information\n"); exit(1); } -- 2.11.0