- Remove options that dbclient won't know about

--HG--
extra : convert_revision : 2d401308f73352e92d3c662d33920b24fc12bfa1
This commit is contained in:
Matt Johnston 2009-09-02 15:17:14 +00:00
parent 48734bb3b5
commit c35e38c5e9

6
scp.c
View File

@ -343,7 +343,7 @@ main(int argc, char **argv)
addargs(&args, "-p%s", optarg);
break;
case 'B':
addargs(&args, "-oBatchmode yes");
fprintf(stderr, "Note: -B option is disabled in this version of scp");
break;
case 'l':
speed = strtod(optarg, &endp);
@ -492,9 +492,13 @@ toremote(char *targ, int argc, char **argv)
addargs(&alist, "%s", ssh_program);
if (verbose_mode)
addargs(&alist, "-v");
#if 0
// Disabled since dbclient won't understand them
// and scp works fine without them.
addargs(&alist, "-x");
addargs(&alist, "-oClearAllForwardings yes");
addargs(&alist, "-n");
#endif
*src++ = 0;
if (*src == 0)