diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-06-06 12:07:34 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-06-06 12:07:34 +0000 |
commit | 89874b996b9fb501bd014bb5dce3122c235936e4 (patch) | |
tree | 45c5011a73b3ddc3173530dcfa536b1c906ae486 /usr.bin | |
parent | 4cb110240acd5065ff89e41d8ce6f711d496579d (diff) |
it fetches multiple urls; so usage was wrong. ok sthen@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ftp/ftp.1 | 8 | ||||
-rw-r--r-- | usr.bin/ftp/main.c | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1 index c8b3106089a..25d02e082f9 100644 --- a/usr.bin/ftp/ftp.1 +++ b/usr.bin/ftp/ftp.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ftp.1,v 1.76 2009/04/26 21:26:03 martynas Exp $ +.\" $OpenBSD: ftp.1,v 1.77 2009/06/06 12:07:33 martynas Exp $ .\" $NetBSD: ftp.1,v 1.22 1997/08/18 10:20:22 lukem Exp $ .\" .\" Copyright (c) 1985, 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ftp.1 8.3 (Berkeley) 10/9/94 .\" -.Dd $Mdocdate: April 26 2009 $ +.Dd $Mdocdate: June 6 2009 $ .Dt FTP 1 .Os .Sh NAME @@ -51,6 +51,7 @@ .Oc Ar host Oo : Ar port .Oc No / Ar file Oo / .Oc +.Ar ... .Sm on .Nm ftp .Op Fl C @@ -59,6 +60,7 @@ .Sm off .No http:// Ar host Oo : Ar port .Oc No / Ar file +.Ar ... .Sm on .Nm ftp .Op Fl C @@ -67,6 +69,7 @@ .Sm off .No https:// Ar host Oo : Ar port .Oc No / Ar file +.Ar ... .Sm on .Nm ftp .Op Fl C @@ -74,6 +77,7 @@ .Sm off .Ar host : No / Ar file Oo / .Oc +.Ar ... .Sm on .Sh DESCRIPTION .Nm diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 97586f92226..9a1332524f8 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.78 2009/06/04 20:58:34 martynas Exp $ */ +/* $OpenBSD: main.c,v 1.79 2009/06/06 12:07:33 martynas Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* @@ -749,22 +749,22 @@ usage(void) " %s [-C] " #endif /* !SMALL */ "[-o output] " - "ftp://[user:password@]host[:port]/file[/]\n" + "ftp://[user:password@]host[:port]/file[/] ...\n" " %s " #ifndef SMALL "[-C] [-c cookie] " #endif /* !SMALL */ "[-o output] " - "http://host[:port]/file\n" + "http://host[:port]/file ...\n" #ifndef SMALL " %s [-C] [-c cookie] [-o output] " - "https://host[:port]/file\n" + "https://host[:port]/file ...\n" #endif /* !SMALL */ " %s " #ifndef SMALL "[-C] " #endif /* !SMALL */ - "[-o output] host:/file[/]\n", + "[-o output] host:/file[/] ...\n", #ifndef SMALL __progname, __progname, __progname, __progname, __progname); #else /* !SMALL */ |