artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d87ad1f
)
fix default parm, noticed by aja@ on clean-old-distfiles
author
espie
<espie@openbsd.org>
Fri, 16 Jun 2023 06:44:14 +0000
(06:44 +0000)
committer
espie
<espie@openbsd.org>
Fri, 16 Jun 2023 06:44:14 +0000
(06:44 +0000)
usr.sbin/pkg_add/OpenBSD/Getopt.pm
patch
|
blob
|
history
diff --git
a/usr.sbin/pkg_add/OpenBSD/Getopt.pm
b/usr.sbin/pkg_add/OpenBSD/Getopt.pm
index
eedb555
..
dd363fb
100644
(file)
--- a/
usr.sbin/pkg_add/OpenBSD/Getopt.pm
+++ b/
usr.sbin/pkg_add/OpenBSD/Getopt.pm
@@
-1,5
+1,5
@@
# ex:ts=8 sw=4:
-# $OpenBSD: Getopt.pm,v 1.1
6 2023/06/13 09:07:17
espie Exp $
+# $OpenBSD: Getopt.pm,v 1.1
7 2023/06/16 06:44:14
espie Exp $
#
# Copyright (c) 2006 Marc Espie <espie@openbsd.org>
#
@@
-45,9
+45,8
@@
sub handle_option($opt, $hash, @params)
}
}
-sub getopts($args, $hash)
+sub getopts($args, $hash
= {}
)
{
- $hash = {} unless defined $hash;
local @EXPORT;
while ($_ = shift @ARGV) {