summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/main.c
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-06-04 10:13:24 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-06-04 10:13:24 +0000
commit72975dabb915c98862a98d34d585bdc781702b4d (patch)
tree63b8a2c54db3d24d294a1f3f7198157a7f4dbe9a /usr.bin/ftp/main.c
parenta215dc53995279771fd93b2c8b96c154cf73f106 (diff)
We want sync usage() w/ manual since -4/-6 options have been added.
millert@ ok
Diffstat (limited to 'usr.bin/ftp/main.c')
-rw-r--r--usr.bin/ftp/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index e36aca7010d..d2385a220b3 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.49 2002/05/30 06:51:46 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.50 2002/06/04 10:13:23 mpech Exp $ */
/* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */
/*
@@ -73,7 +73,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 10/9/94";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.49 2002/05/30 06:51:46 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.50 2002/06/04 10:13:23 mpech Exp $";
#endif
#endif /* not lint */
@@ -734,9 +734,9 @@ void
usage()
{
(void)fprintf(stderr,
- "usage: %s [-adegimnptvV] [-r <seconds>] [host [port]]\n"
- " %s host:path[/]\n"
- " %s ftp://host[:port]/path[/]\n"
+ "usage: %s [-AVadegimnptv46] [-o output] [-P port] [-r <seconds>] [host [port]]\n"
+ " %s host:[/path/]file[/]\n"
+ " %s ftp://[user:password@]host[:port]/file[/]\n"
" %s http://host[:port]/file\n",
__progname, __progname, __progname, __progname);
exit(1);