diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2008-07-04 10:47:14 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2008-07-04 10:47:14 +0000 |
commit | b3753a2ee5b621168a705031b4255daedf3be6f3 (patch) | |
tree | 0b72b5fa588cc831c604681eb55abad461aa4c12 /usr.sbin/pkg_add/pkg_add.1 | |
parent | f77f243a8feb8c249af9b216cdd159a45d30cd27 (diff) |
clean up parser a bit, separating local/distant parts in a more reusable way,
and simplify file: parsing scheme (trying it with file:, then without is
a bit stupid once we have the pieces to put it back together directly).
Drop the restriction on urls from the man page, no need to finish stuff with /.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_add.1')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add.1 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1 index 7e3d932c7dc..7e3bd9ef30d 100644 --- a/usr.sbin/pkg_add/pkg_add.1 +++ b/usr.sbin/pkg_add/pkg_add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg_add.1,v 1.72 2008/03/09 15:36:45 jmc Exp $ +.\" $OpenBSD: pkg_add.1,v 1.73 2008/07/04 10:47:13 espie Exp $ .\" .\" Documentation and design originally from FreeBSD. All the code has .\" been rewritten since. We keep the documentation's notice: @@ -15,7 +15,7 @@ .\" Jordan K. Hubbard .\" .\" -.Dd $Mdocdate: March 9 2008 $ +.Dd $Mdocdate: July 4 2008 $ .Dt PKG_ADD 1 .Os .Sh NAME @@ -102,9 +102,6 @@ If the given package names are not found in the current working directory, will search for them in each directory named by the .Ev PKG_PATH environment variable. -Since a few URL schemes contain colons, -.Nm -relies on each directory ending in a / to split the path correctly. Specifying .Ql - as a package name causes @@ -594,7 +591,7 @@ the directories named by .Ev PKG_PATH are searched. It should contain a series of entries separated by colons. -Each entry consists of a directory name, ending in a slash. +Each entry consists of a directory name. URL schemes such as FTP, HTTP, HTTPS, or SCP are also appropriate. The current directory may be indicated implicitly by an empty directory name, or explicitly by a single |