]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Mention plink's new -N option in usage and man page.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 15 Oct 2004 23:32:01 +0000 (23:32 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 15 Oct 2004 23:32:01 +0000 (23:32 +0000)
[originally from svn r4643]

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

index 1f34dc1a7f845eb2907c1fc9980f0aefdaf114c0..cf0d4194f183b6fa32cd42088d08f8d69e27eb70 100644 (file)
@@ -136,6 +136,10 @@ tunnel all their connections. Only works in SSH.
 
 \dd Remote command is SSH subsystem (SSH-2 only).
 
+\dt \cw{-N}
+
+\dd Don't start a remote command or shell at all (SSH-2 only).
+
 \S{plink-manpage-more-information} MORE INFORMATION
 
 For more information on plink, it's probably best to go and look at
index 3741645647344d6f07852397c8edc599242db394..e4cb0bc303853aa4812f76833cf7c52a0c3bb19c 100644 (file)
@@ -1,4 +1,4 @@
-\versionid $Id: plink.but,v 1.25 2004/08/19 13:14:55 jacob Exp $
+\versionid $Id: plink.but,v 1.26 2004/10/15 23:32:01 jacob Exp $
 
 \C{plink} Using the command-line connection tool Plink
 
@@ -71,6 +71,7 @@ use Plink:
 \c   -C        enable compression
 \c   -i key    private key file for authentication
 \c   -s        remote command is an SSH subsystem (SSH-2 only)
+\c   -N        don't start a shell/command (SSH-2 only)
 
 Once this works, you are ready to use Plink.
 
diff --git a/plink.c b/plink.c
index f6e2a70243f0944ec5660038034924df672e256d..b99646af63b273c223d1d31f8f13c38fe5ff63cf 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -234,6 +234,7 @@ 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("  -N        don't start a shell/command (SSH-2 only)\n");
     exit(1);
 }
 
index 146fcb30133d7b7b872fc2c417972cf723b8ec5e..e2b4d3d97d4890ff366c8165b2374778cb29a692 100644 (file)
@@ -230,6 +230,7 @@ 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("  -N        don't start a shell/command (SSH-2 only)\n");
     exit(1);
 }