X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/08822d99de1b1080f8c730bbebc192b5b45bf89b..fd34c71f37dac8c6681afbb2ab52934b9179fe1d:/openssh/scp.c diff --git a/openssh/scp.c b/openssh/scp.c index cf11122..92cab27 100644 --- a/openssh/scp.c +++ b/openssh/scp.c @@ -278,7 +278,7 @@ main(int argc, char **argv) addargs(&args, "-oClearAllForwardings yes"); fflag = tflag = 0; - while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246zS:o:F:w:")) != -1) + while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246zS:o:F:R:")) != -1) switch (ch) { /* User-visible flags. */ case '1': @@ -340,8 +340,8 @@ main(int argc, char **argv) setmode(0, O_BINARY); #endif break; - case 'w': - addargs(&args, "-w%s", optarg); + case 'R': + addargs(&args, "-r%s", optarg); break; default: usage(); @@ -1093,7 +1093,7 @@ usage(void) { (void) fprintf(stderr, "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" - " [-l limit] [-o ssh_option] [-P port] [-w buffer size] [-S program]\n" + " [-l limit] [-o ssh_option] [-P port] [-R Receive buffer size (Kb)] [-S program]\n" " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); exit(1); }