-h is handled by State.pm, don't try to recognize it
authorespie <espie@openbsd.org>
Sat, 25 Nov 2023 11:01:22 +0000 (11:01 +0000)
committerespie <espie@openbsd.org>
Sat, 25 Nov 2023 11:01:22 +0000 (11:01 +0000)
usr.sbin/pkg_add/OpenBSD/PkgInfo.pm

index cf43a0b..389b5ed 100644 (file)
@@ -1,6 +1,6 @@
 #! /usr/bin/perl
 # ex:ts=8 sw=4:
-# $OpenBSD: PkgInfo.pm,v 1.52 2023/06/14 09:59:09 espie Exp $
+# $OpenBSD: PkgInfo.pm,v 1.53 2023/11/25 11:01:22 espie Exp $
 #
 # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
 #
@@ -538,7 +538,7 @@ sub parse_and_run($self, $cmd)
                    }
            };
        $state->{no_exports} = 1;
-       $state->handle_options('cCdfF:hIKLmPQ:qr:RsSUe:E:Ml:aAtz',
+       $state->handle_options('cCdfF:IKLmPQ:qr:RsSUe:E:Ml:aAtz',
            '[-AaCcdfIKLMmPqRSstUvz] [-D nolock][-E filename] [-e pkg-name] ',
            '[-l str] [-Q query] [-r pkgspec] [pkg-name ...]');