diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-12-06 15:19:12 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-12-06 15:19:12 +0000 |
commit | 14763c74491595b885a552511640b3b60f3dab73 (patch) | |
tree | 1fa7637c3e64d77a5c9b6efb78ffca19a214c9e5 /usr.sbin/pkg_add | |
parent | 5fddc1cb91eccff537debd39f04201f34e116d20 (diff) |
forgot -h for pkg_info.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_info | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info index 32e20651632..d2cecacfda8 100644 --- a/usr.sbin/pkg_add/pkg_info +++ b/usr.sbin/pkg_add/pkg_info @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_info,v 1.22 2004/12/06 12:35:36 espie Exp $ +# $OpenBSD: pkg_info,v 1.23 2004/12/06 15:19:11 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -246,7 +246,7 @@ sub print_info set_usage('pkg_info [-cDdfIiKkLMpqRrsUv] [-E fname] [-e pkgname] [-l str] pkgname...', 'pkg_info [-Aa flags]'); -eval { getopts('cDdfIikKLmpqRrsvhe:E:MU:l:aA', +eval { getopts('cDdfhIikKLmpqRrsvhe:E:MU:l:aA', {'e' => sub { my $pat = shift; @@ -262,6 +262,7 @@ eval { getopts('cDdfIikKLmpqRrsvhe:E:MU:l:aA', push(@ARGV, @list); $terse = 1; }, + 'h' => sub { Usage(); }, 'E' => sub { require File::Spec; |