diff options
author | des <des@FreeBSD.org> | 2000-06-29 10:35:24 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-06-29 10:35:24 +0000 |
commit | cd4c3a8be387ce3b42e322baaff5d1875768e6dd (patch) | |
tree | ad7070f624d533336a35972b0d8f2cb4fdec48b0 /usr.bin/fetch | |
parent | c8fb726f7671fb521c9ea63b18dbf41df1ab605e (diff) | |
download | FreeBSD-src-cd4c3a8be387ce3b42e322baaff5d1875768e6dd.zip FreeBSD-src-cd4c3a8be387ce3b42e322baaff5d1875768e6dd.tar.gz |
Note that the -h, -c and -f options are deprecated, and remove note that
incorrectly stated that they were not implemented.
Document the -d option.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r-- | usr.bin/fetch/fetch.1 | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/usr.bin/fetch/fetch.1 b/usr.bin/fetch/fetch.1 index 8f59f68..4bac2e8 100644 --- a/usr.bin/fetch/fetch.1 +++ b/usr.bin/fetch/fetch.1 @@ -35,14 +35,16 @@ .Nd retrieve a file by Uniform Resource Locator .Sh SYNOPSIS .Nm -.Op Fl 146AFHMPRalmnpqrsv +.Op Fl 146AFHMPRadlmnpqrsv .Op Fl B Ar bytes .Op Fl S Ar bytes .Op Fl T Ar seconds .Op Fl o Ar file .Op Fl w Ar seconds -.Ar URL -.Op Ar ... +.Op Fl h Ar host +.Op Fl c Ar dir +.Op Fl f Ar file +.Op Ar URL ... .Sh DESCRIPTION .Nm Fetch provides a command-line interface to the @@ -82,6 +84,10 @@ flag). The file to retrieve is in directory .Ar dir on the remote host. +This option is deprecated and is provided for backward compatibility +only. +.It Fl d +Use a direct connection even if a proxy is configured. .It Fl F In combination with the .Fl r @@ -91,6 +97,8 @@ different modification times. The file to retrieve is named .Ar file on the remote host. +This option is deprecated and is provided for backward compatibility +only. .It Fl H When using passive FTP, allocate a high port for the data connection. See @@ -99,6 +107,8 @@ for details on how to specify which port range this corresponds to. .It Fl h Ar host The file to retrieve is located on the host .Ar host . +This option is deprecated and is provided for backward compatibility +only. .It Fl l If the target is a file-scheme URL, make a symbolic link to the target rather than trying to copy it. @@ -226,13 +236,8 @@ options are no longer supported and will generate warnings. They were workarounds for bugs in other OSes which this implementation does not trigger. .Pp -The +One cannot both use the +.Fl h , +.Fl c and .Fl f -and -.Fl h -options (used for specifying an file to fetch and a host to fetch -from) are no longer supported and will generate errors. -Use URLs. -RFC1738 is your friend. -.Xr fetch 3 -library. +options and specify URLs on the command line. |