From: mouring Date: Fri, 21 Jun 2002 00:10:58 +0000 (+0000) Subject: - deraadt@cvs.openbsd.org 2002/06/17 06:05:56 X-Git-Tag: V_3_3_P1~23 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/3015d3210bddbac92a12f5c8e839fa8dff7088ff - deraadt@cvs.openbsd.org 2002/06/17 06:05:56 [scp.c] make usage like man page --- diff --git a/ChangeLog b/ChangeLog index 30b6368a..abba4156 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,7 +12,7 @@ - markus@cvs.openbsd.org 2002/06/15 00:07:38 [authfd.c authfd.h ssh-add.c ssh-agent.c] fix stupid typo - - markus@cvs.openbsd.org 2002/06/15 01:27:48 + - markus@cvs.openbsd.org 2002/06/15 01:27:48 [authfd.c authfd.h ssh-add.c ssh-agent.c] remove the CONSTRAIN_IDENTITY messages and introduce a new ADD_ID message with contraints instead. contraints can be @@ -20,6 +20,9 @@ - itojun@cvs.openbsd.org 2002/06/16 21:30:58 [ssh-keyscan.c] use TAILQ_xx macro. from lukem@netbsd. markus ok + - deraadt@cvs.openbsd.org 2002/06/17 06:05:56 + [scp.c] + make usage like man page 20020613 - (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com diff --git a/scp.c b/scp.c index 860dc108..2019376e 100644 --- a/scp.c +++ b/scp.c @@ -75,7 +75,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: scp.c,v 1.89 2002/06/08 12:36:53 markus Exp $"); +RCSID("$OpenBSD: scp.c,v 1.90 2002/06/17 06:05:56 deraadt Exp $"); #include "xmalloc.h" #include "atomicio.h" @@ -955,9 +955,9 @@ void usage(void) { (void) fprintf(stderr, - "usage: scp [-pqrvBC46] [-F config] [-S ssh] [-P port] [-c cipher] [-i identity]\n" - " [-o option] f1 f2\n" - " or: scp [options] f1 ... fn directory\n"); + "usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]\n" + " [-c cipher] [-i identity] [-o option]\n" + " [[user@]host1:]file1 [...] [[user@]host2:]file2\n"); exit(1); }