diff options
author | Damien Miller <djm@mindrot.org> | 2011-01-06 22:41:21 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-01-06 22:41:21 +1100 |
commit | 907998df72d7206d4dd5c37d8f185f9b2988b007 (patch) | |
tree | 6207e658f110c53d7771ab6a54b05641c99f483b | |
parent | f12114366b4ffcd34e3a638dd187f29ac03fbdbd (diff) |
- jmc@cvs.openbsd.org 2010/12/09 14:13:33
[scp.1 scp.c]
scp.1: grammer fix
scp.c: add -3 to usage()
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | scp.1 | 6 | ||||
-rw-r--r-- | scp.c | 4 |
3 files changed, 9 insertions, 5 deletions
@@ -5,6 +5,10 @@ | |||
5 | add a new -3 option to scp: Copies between two remote hosts are | 5 | add a new -3 option to scp: Copies between two remote hosts are |
6 | transferred through the local host. Without this option the data | 6 | transferred through the local host. Without this option the data |
7 | is copied directly between the two remote hosts. ok djm@ (bugzilla #1837) | 7 | is copied directly between the two remote hosts. ok djm@ (bugzilla #1837) |
8 | - jmc@cvs.openbsd.org 2010/12/09 14:13:33 | ||
9 | [scp.1 scp.c] | ||
10 | scp.1: grammer fix | ||
11 | scp.c: add -3 to usage() | ||
8 | 12 | ||
9 | 20110104 | 13 | 20110104 |
10 | - (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage | 14 | - (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage |
@@ -8,9 +8,9 @@ | |||
8 | .\" | 8 | .\" |
9 | .\" Created: Sun May 7 00:14:37 1995 ylo | 9 | .\" Created: Sun May 7 00:14:37 1995 ylo |
10 | .\" | 10 | .\" |
11 | .\" $OpenBSD: scp.1,v 1.55 2010/12/08 22:46:03 markus Exp $ | 11 | .\" $OpenBSD: scp.1,v 1.56 2010/12/09 14:13:32 jmc Exp $ |
12 | .\" | 12 | .\" |
13 | .Dd $Mdocdate: December 8 2010 $ | 13 | .Dd $Mdocdate: December 9 2010 $ |
14 | .Dt SCP 1 | 14 | .Dt SCP 1 |
15 | .Os | 15 | .Os |
16 | .Sh NAME | 16 | .Sh NAME |
@@ -79,7 +79,7 @@ to use protocol 2. | |||
79 | Copies between two remote hosts are transferred through the local host. | 79 | Copies between two remote hosts are transferred through the local host. |
80 | Without this option the data is copied directly between the two remote | 80 | Without this option the data is copied directly between the two remote |
81 | hosts. | 81 | hosts. |
82 | Note that this options disables the progress meter. | 82 | Note that this option disables the progress meter. |
83 | .It Fl 4 | 83 | .It Fl 4 |
84 | Forces | 84 | Forces |
85 | .Nm | 85 | .Nm |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: scp.c,v 1.169 2010/12/08 22:46:03 markus Exp $ */ | 1 | /* $OpenBSD: scp.c,v 1.170 2010/12/09 14:13:33 jmc 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). |
@@ -1214,7 +1214,7 @@ void | |||
1214 | usage(void) | 1214 | usage(void) |
1215 | { | 1215 | { |
1216 | (void) fprintf(stderr, | 1216 | (void) fprintf(stderr, |
1217 | "usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" | 1217 | "usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]\n" |
1218 | " [-l limit] [-o ssh_option] [-P port] [-S program]\n" | 1218 | " [-l limit] [-o ssh_option] [-P port] [-S program]\n" |
1219 | " [[user@]host1:]file1 ... [[user@]host2:]file2\n"); | 1219 | " [[user@]host1:]file1 ... [[user@]host2:]file2\n"); |
1220 | exit(1); | 1220 | exit(1); |