diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -75,7 +75,7 @@ | |||
75 | */ | 75 | */ |
76 | 76 | ||
77 | #include "includes.h" | 77 | #include "includes.h" |
78 | RCSID("$OpenBSD: scp.c,v 1.99 2003/01/23 14:01:53 markus Exp $"); | 78 | RCSID("$OpenBSD: scp.c,v 1.100 2003/01/23 14:06:15 markus Exp $"); |
79 | 79 | ||
80 | #include "xmalloc.h" | 80 | #include "xmalloc.h" |
81 | #include "atomicio.h" | 81 | #include "atomicio.h" |
@@ -225,9 +225,11 @@ main(argc, argv) | |||
225 | addargs(&args, "-oClearAllForwardings yes"); | 225 | addargs(&args, "-oClearAllForwardings yes"); |
226 | 226 | ||
227 | fflag = tflag = 0; | 227 | fflag = tflag = 0; |
228 | while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q46S:o:F:")) != -1) | 228 | while ((ch = getopt(argc, argv, "dfl:prtvBCc:i:P:q1246S:o:F:")) != -1) |
229 | switch (ch) { | 229 | switch (ch) { |
230 | /* User-visible flags. */ | 230 | /* User-visible flags. */ |
231 | case '1': | ||
232 | case '2': | ||
231 | case '4': | 233 | case '4': |
232 | case '6': | 234 | case '6': |
233 | case 'C': | 235 | case 'C': |
@@ -1025,7 +1027,7 @@ void | |||
1025 | usage(void) | 1027 | usage(void) |
1026 | { | 1028 | { |
1027 | (void) fprintf(stderr, | 1029 | (void) fprintf(stderr, |
1028 | "usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]\n" | 1030 | "usage: scp [-pqrvBC1246] [-F config] [-S program] [-P port]\n" |
1029 | " [-c cipher] [-i identity] [-l limit] [-o option]\n" | 1031 | " [-c cipher] [-i identity] [-l limit] [-o option]\n" |
1030 | " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); | 1032 | " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); |
1031 | exit(1); | 1033 | exit(1); |