diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.61 2005/01/24 10:22:06 dtucker Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.62 2005/02/20 22:59:06 djm Exp $"); |
20 | 20 | ||
21 | #ifdef USE_LIBEDIT | 21 | #ifdef USE_LIBEDIT |
22 | #include <histedit.h> | 22 | #include <histedit.h> |
@@ -1479,6 +1479,7 @@ main(int argc, char **argv) | |||
1479 | fatal("%s (%s).", strerror(errno), optarg); | 1479 | fatal("%s (%s).", strerror(errno), optarg); |
1480 | showprogress = 0; | 1480 | showprogress = 0; |
1481 | batchmode = 1; | 1481 | batchmode = 1; |
1482 | addargs(&args, "-obatchmode yes"); | ||
1482 | break; | 1483 | break; |
1483 | case 'P': | 1484 | case 'P': |
1484 | sftp_direct = optarg; | 1485 | sftp_direct = optarg; |