]> andersk Git - openssh.git/blobdiff - sftp.c
- stevesk@cvs.openbsd.org 2001/09/19 19:24:19
[openssh.git] / sftp.c
diff --git a/sftp.c b/sftp.c
index b9558efd71a2a8cbfcb74d9d6467c802a91cddf9..06110f9af2fda203034d8647cacbe64b0bd604b7 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -24,7 +24,7 @@
 
 #include "includes.h"
 
-RCSID("$OpenBSD: sftp.c,v 1.19 2001/09/17 17:57:57 stevesk Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.21 2001/09/19 19:24:19 stevesk Exp $");
 
 /* XXX: commandline mode */
 /* XXX: short-form remote directory listings (like 'ls -C') */
@@ -94,8 +94,8 @@ static void
 usage(void)
 {
        fprintf(stderr,
-           "usage: sftp [-1vC] [-b batchfile] [-F config] [-o option]\n"
-           "            [user@]host[:file [file]]\n");
+           "usage: sftp [-1Cv] [-b batchfile] [-F config] [-o option] [-s subsystem|path]\n"
+           "            [-S program] [user@]host[:file [file]]\n");
        exit(1);
 }
 
@@ -118,6 +118,7 @@ main(int argc, char **argv)
        addargs(&args, "-oFallBackToRsh no");
        addargs(&args, "-oForwardX11 no");
        addargs(&args, "-oForwardAgent no");
+       addargs(&args, "-oClearAllForwardings yes");
        ll = SYSLOG_LEVEL_INFO;
        infile = stdin;         /* Read from STDIN unless changed by -b */
 
This page took 0.186883 seconds and 4 git commands to generate.