summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--scp.16
-rw-r--r--scp.c4
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c5bfb042..c4a7d1261 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,12 @@
4 [key.c] 4 [key.c]
5 Delint: remove some unreachable statements, from Bret Lambert. 5 Delint: remove some unreachable statements, from Bret Lambert.
6 OK markus@ and dtucker@. 6 OK markus@ and dtucker@.
7 - sobrado@cvs.openbsd.org 2007/08/06 19:16:06
8 [scp.1 scp.c]
9 the ellipsis is not an optional argument; while here, sync the usage
10 and synopsis of commands
11 lots of good ideas by jmc@
12 ok jmc@
7 13
820070724 1420070724
9 - (tim) [openssh.xml.in] make FMRI match what package scripts use. 15 - (tim) [openssh.xml.in] make FMRI match what package scripts use.
@@ -3123,4 +3129,4 @@
3123 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3129 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3124 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3130 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3125 3131
3126$Id: ChangeLog,v 1.4716 2007/08/08 04:28:26 djm Exp $ 3132$Id: ChangeLog,v 1.4717 2007/08/08 04:29:58 djm Exp $
diff --git a/scp.1 b/scp.1
index 17140e37a..9b221762b 100644
--- a/scp.1
+++ b/scp.1
@@ -9,9 +9,9 @@
9.\" 9.\"
10.\" Created: Sun May 7 00:14:37 1995 ylo 10.\" Created: Sun May 7 00:14:37 1995 ylo
11.\" 11.\"
12.\" $OpenBSD: scp.1,v 1.41 2007/05/31 19:20:16 jmc Exp $ 12.\" $OpenBSD: scp.1,v 1.42 2007/08/06 19:16:06 sobrado Exp $
13.\" 13.\"
14.Dd $Mdocdate: May 31 2007 $ 14.Dd $Mdocdate: August 6 2007 $
15.Dt SCP 1 15.Dt SCP 1
16.Os 16.Os
17.Sh NAME 17.Sh NAME
@@ -34,7 +34,7 @@
34.Ar host1 No : 34.Ar host1 No :
35.Oc Ns Ar file1 35.Oc Ns Ar file1
36.Sm on 36.Sm on
37.Op Ar ... 37.Ar ...
38.Sm off 38.Sm off
39.Oo 39.Oo
40.Op Ar user No @ 40.Op Ar user No @
diff --git a/scp.c b/scp.c
index 0206e6f4e..1765a44e6 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: scp.c,v 1.159 2007/06/13 00:21:27 djm Exp $ */ 1/* $OpenBSD: scp.c,v 1.160 2007/08/06 19:16:06 sobrado Exp $ */
2/* 2/*
3 * scp - secure remote copy. This is basically patched BSD rcp which 3 * scp - secure remote copy. This is basically patched BSD rcp which
4 * uses ssh to do the data transfer (instead of using rcmd). 4 * uses ssh to do the data transfer (instead of using rcmd).
@@ -1120,7 +1120,7 @@ usage(void)
1120 (void) fprintf(stderr, 1120 (void) fprintf(stderr,
1121 "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" 1121 "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n"
1122 " [-l limit] [-o ssh_option] [-P port] [-S program]\n" 1122 " [-l limit] [-o ssh_option] [-P port] [-S program]\n"
1123 " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); 1123 " [[user@]host1:]file1 ... [[user@]host2:]file2\n");
1124 exit(1); 1124 exit(1);
1125} 1125}
1126 1126