Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg-search: Add missing -Q version support
Bryan Drewery committed 12 years ago
commit 9e73d3d997bf653bec28706a4dccfe34098594c8
parent 38c8375
2 files changed +7 -1
modified pkg/pkg-search.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd Jun 22, 2013
+
.Dd August 9, 2013
.Dt PKG-SEARCH 8
.Os
.Sh NAME
@@ -366,6 +366,11 @@ take up once unpacked and installed.
.It Sy url
Display the URL that would be used to download the package from the
repository.
+
.It Sy version
+
Display the package version, which is derived from the
+
.Cm PKGVERSION
+
variable in the port's
+
.Fa Makefile .
.It Sy www
Display the general URL, if any, for the project developing the
software used in the package.
modified pkg/search.c
@@ -72,6 +72,7 @@ static const cliopt modifiers[] = {
	{ "shared-libs-provided", 'b'  },
	{ "size",                 's'  },
	{ "url",                  'u'  },
+
	{ "version",              'v'  },
	{ "www",                  'w'  },
	{ NULL,                   '\0' },
};