From d2fb231c1c011d1f732bce3441af3165bd01972b Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 6 Feb 2001 23:53:55 +0000 Subject: Fix -o option under getopt; ok markus@ --- usr.bin/ssh/sftp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': -- cgit v1.2.3