summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Getopt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Getopt.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Getopt.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Getopt.pm b/usr.sbin/pkg_add/OpenBSD/Getopt.pm
index cf91166e265..9b4da5e339e 100644
--- 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.5 2008/03/08 11:32:38 espie Exp $
+# $OpenBSD: Getopt.pm,v 1.6 2009/11/10 11:36:56 espie Exp $
#
# Copyright (c) 2006 Marc Espie <espie@openbsd.org>
#
@@ -17,12 +17,13 @@
#
# This is inspired by Getopt::Std, except for the ability to invoke subs
# on options.
-#
-package OpenBSD::Getopt;
-require Exporter;
+
use strict;
use warnings;
+package OpenBSD::Getopt;
+require Exporter;
+
our @ISA = qw(Exporter);
our @EXPORT = qw(getopts);