From 14763c74491595b885a552511640b3b60f3dab73 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 6 Dec 2004 15:19:12 +0000 Subject: forgot -h for pkg_info. --- usr.sbin/pkg_add/pkg_info | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add') 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 # @@ -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; -- cgit v1.2.3