Tweak documentation of -V option.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Apr 2004 12:25:09 +0000 (12:25 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 24 Apr 2004 12:25:09 +0000 (12:25 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@4132 cda61777-01e9-0310-a592-d414129be87e

doc/man-pl.but
doc/man-pscp.but
doc/man-psft.but
doc/plink.but
doc/pscp.but
plink.c
unix/uxplink.c

index 127bda7..c265472 100644 (file)
 
 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.
index e628def..6672887 100644 (file)
@@ -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.
index 118d157..5375f6f 100644 (file)
 
 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.
index a8aa170..971ef7c 100644 (file)
@@ -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
index 876a1ba..c4ccc64 100644 (file)
@@ -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 d92b6c6..e049d25 100644 (file)
--- 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);
 }
 
index 1f09409..e59a701 100644 (file)
@@ -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);
 }