version 1.108, 2009/08/12 00:13:00 |
version 1.109, 2009/08/13 01:11:19 |
|
|
ll = SYSLOG_LEVEL_INFO; |
ll = SYSLOG_LEVEL_INFO; |
infile = stdin; |
infile = stdin; |
|
|
while ((ch = getopt(argc, argv, "1246hqvCc:i:o:s:S:b:B:F:P:R:")) != -1) { |
while ((ch = getopt(argc, argv, |
|
"1246hqvCc:D:i:o:s:S:b:B:F:P:R:")) != -1) { |
switch (ch) { |
switch (ch) { |
/* Passed through to ssh(1) */ |
/* Passed through to ssh(1) */ |
case '4': |
case '4': |
|
|
showprogress = 0; |
showprogress = 0; |
addargs(&args, "-%c", ch); |
addargs(&args, "-%c", ch); |
break; |
break; |
|
case 'P': |
|
addargs(&args, "-oPort %s", optarg); |
|
break; |
case 'v': |
case 'v': |
if (debug_level < 3) { |
if (debug_level < 3) { |
addargs(&args, "-v"); |
addargs(&args, "-v"); |
|
|
batchmode = 1; |
batchmode = 1; |
addargs(&args, "-obatchmode yes"); |
addargs(&args, "-obatchmode yes"); |
break; |
break; |
case 'P': |
case 'D': |
sftp_direct = optarg; |
sftp_direct = optarg; |
break; |
break; |
case 'R': |
case 'R': |