From b3753a2ee5b621168a705031b4255daedf3be6f3 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Fri, 4 Jul 2008 10:47:14 +0000 Subject: 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 /. --- usr.sbin/pkg_add/pkg_add.1 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'usr.sbin/pkg_add/pkg_add.1') 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 -- cgit v1.2.3