summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@cvs.openbsd.org>2006-11-28 01:59:43 +0000
committerChris Kuethe <ckuethe@cvs.openbsd.org>2006-11-28 01:59:43 +0000
commit38eeefdd449df6cbfb755f6c3a525b220f6a7976 (patch)
tree4f9bde557371d2537948415fc6af1706b04ade66 /usr.bin/pkg-config
parent1a758d2bf9552b7674c79f7e13ea5ce5d5fda63f (diff)
Sync usage with manpage
Diffstat (limited to 'usr.bin/pkg-config')
-rw-r--r--usr.bin/pkg-config/pkg-config11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config
index 17ed30456d6..094b01bdc31 100644
--- a/usr.bin/pkg-config/pkg-config
+++ b/usr.bin/pkg-config/pkg-config
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $OpenBSD: pkg-config,v 1.7 2006/11/28 01:54:14 ckuethe Exp $
+# $OpenBSD: pkg-config,v 1.8 2006/11/28 01:59:42 ckuethe Exp $
#$CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $
# Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
@@ -325,8 +325,11 @@ Usage: $0 [options]
--help - this message
--usage - this message
--list-all - show all packages that $0 can find
+--version - print version of pkgconfig
+--errors-to-stdout - direct error messages to stdout rather than stderr
+--print-errors - print error messages in case of error
+--silence-errors - don't print error messages in case of error
--atleast-pkgconfig-version [version] - require a certain version of pkgconfig
---variable var package - return the definition of <var> in <package>
--cflags package [versionspec] [package [versionspec]]
--cflags-only-I - only output -Iincludepath flags
--cflags-only-other - only output flags that are not -I
@@ -336,6 +339,10 @@ Usage: $0 [options]
--libs-only-other - only output flags that are not -l or -L
--exists package [versionspec] [package [versionspec]]
--uninstalled - allow for uninstalled versions to be used
+--static - adjust output for static linking
+--atleast-version [version] - require a certain version of a package
+--modversion [package] - query the version of a package
+--variable var package - return the definition of <var> in <package>
EOF
;
exit 1;