summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorSimon Bertrang <simon@cvs.openbsd.org>2008-09-06 10:49:29 +0000
committerSimon Bertrang <simon@cvs.openbsd.org>2008-09-06 10:49:29 +0000
commit3bda4377c84bc07e835142c66a2f45256fdb5b7b (patch)
treea28962d2d57c0eca6893644260862864a89164f0 /usr.bin
parent0a0551ab33353de446e66f36295eda493f3ce4ad (diff)
Calling --help shouldn't be an error condition, so exit with status 0
instead of 1, and make it consistent with gnu. ok ckuethe@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pkg-config/pkg-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config
index 189c960b98d..1dda69f8ca3 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.21 2008/08/21 21:57:45 simon Exp $
+# $OpenBSD: pkg-config,v 1.22 2008/09/06 10:49:28 simon Exp $
#$CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $
# Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org>
@@ -485,7 +485,7 @@ Usage: $0 [options]
--variable var package - return the definition of <var> in <package>
EOF
;
- exit 1;
+ exit 0;
}
# do we meet/beat the version the caller requested?