summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config/pkg-config.1
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@cvs.openbsd.org>2006-11-28 01:36:18 +0000
committerChris Kuethe <ckuethe@cvs.openbsd.org>2006-11-28 01:36:18 +0000
commit6de44620796db542e00d3b0f762e2cd1f289c9e0 (patch)
tree2bc1c78089af164cf261b74be68a92a41ad02606 /usr.bin/pkg-config/pkg-config.1
parent2ee3b93fbb879808a78ed3bdb057aae5268db438 (diff)
Allow "pkg-config --modversion" to work. Reported by naddy@
Diffstat (limited to 'usr.bin/pkg-config/pkg-config.1')
-rw-r--r--usr.bin/pkg-config/pkg-config.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config.1 b/usr.bin/pkg-config/pkg-config.1
index 23c51b13bbc..f171acbe50a 100644
--- a/usr.bin/pkg-config/pkg-config.1
+++ b/usr.bin/pkg-config/pkg-config.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg-config.1,v 1.2 2006/11/28 01:20:44 ckuethe Exp $
+.\" $OpenBSD: pkg-config.1,v 1.3 2006/11/28 01:36:17 ckuethe Exp $
.\"
.\" Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
.\"
@@ -109,7 +109,10 @@ Return the compiler and/or linker flags required for static linking.
.It Fl -atleast-version Ar version
Exit with error if the specified package is not new enough
.It Fl -modversion
-Fetch package version
+Fetch package version.
+If no package is given,
+.Nm
+returns its own version.
.It Fl -variable Ar name
Fetch the value of the named variable.
.El