summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2001-02-06 23:53:55 +0000
committerDamien Miller <djm@cvs.openbsd.org>2001-02-06 23:53:55 +0000
commitd2fb231c1c011d1f732bce3441af3165bd01972b (patch)
treed2b0a3dd208c298fcba417c10b5759ecc58765f0
parentdf49cb5f41cdf5f7dcbe07a4dff7e53f36f00a08 (diff)
Fix -o option under getopt; ok markus@
-rw-r--r--usr.bin/ssh/sftp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index 69f0ef8a1c1..3897ca47083 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/sftp.c
@@ -24,7 +24,7 @@
#include "includes.h"
-RCSID("$OpenBSD: sftp.c,v 1.4 2001/02/06 22:06:21 djm Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.5 2001/02/06 23:53:54 djm Exp $");
/* XXX: commandline mode */
/* XXX: copy between two remote hosts (commandline) */
@@ -153,6 +153,7 @@ main(int argc, char **argv)
debug_level = MIN(3, debug_level + 1);
break;
case 'o':
+ make_ssh_args("-o");
make_ssh_args(optarg);
break;
case 'h':