summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/scp.c b/scp.c
index ae0a1ead6..60484e769 100644
--- a/scp.c
+++ b/scp.c
@@ -75,7 +75,7 @@
75 */ 75 */
76 76
77#include "includes.h" 77#include "includes.h"
78RCSID("$OpenBSD: scp.c,v 1.99 2003/01/23 14:01:53 markus Exp $"); 78RCSID("$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
1025usage(void) 1027usage(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);