summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-06 22:41:21 +1100
committerDamien Miller <djm@mindrot.org>2011-01-06 22:41:21 +1100
commit907998df72d7206d4dd5c37d8f185f9b2988b007 (patch)
tree6207e658f110c53d7771ab6a54b05641c99f483b
parentf12114366b4ffcd34e3a638dd187f29ac03fbdbd (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--ChangeLog4
-rw-r--r--scp.16
-rw-r--r--scp.c4
3 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index aa98f9906..9b8465438 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
920110104 1320110104
10 - (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage 14 - (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage
diff --git a/scp.1 b/scp.1
index 28bac5671..577dd52c1 100644
--- a/scp.1
+++ b/scp.1
@@ -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.
79Copies between two remote hosts are transferred through the local host. 79Copies between two remote hosts are transferred through the local host.
80Without this option the data is copied directly between the two remote 80Without this option the data is copied directly between the two remote
81hosts. 81hosts.
82Note that this options disables the progress meter. 82Note that this option disables the progress meter.
83.It Fl 4 83.It Fl 4
84Forces 84Forces
85.Nm 85.Nm
diff --git a/scp.c b/scp.c
index 1262e0aff..18b2597fe 100644
--- a/scp.c
+++ b/scp.c
@@ -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
1214usage(void) 1214usage(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);