]> andersk Git - gssapi-openssh.git/blobdiff - openssh/scp.c
check for existence of globus_gss_assist_map_and_authorize()
[gssapi-openssh.git] / openssh / scp.c
index cf11122b0e883da96421e20a0262acf1b2d52ede..92cab27ca0dc7c5c02980311a929ed01a6348fed 100644 (file)
@@ -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);
 }
This page took 0.041826 seconds and 4 git commands to generate.