summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgAdd.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index 7a0e78db4c0..8959a49f821 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.115 2019/08/19 12:25:40 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.116 2019/11/16 11:07:43 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -112,8 +112,8 @@ our @ISA = qw(OpenBSD::AddDelete::State);
sub handle_options
{
my $state = shift;
- $state->SUPER::handle_options('ruUzl:A:P:',
- '[-acinqrsUuVvxz] [-A arch] [-B pkg-destdir] [-D name[=value]]',
+ $state->SUPER::handle_options('druUzl:A:P:',
+ '[-adcinqrsUuVvxz] [-A arch] [-B pkg-destdir] [-D name[=value]]',
'[-L localbase] [-l file] [-P type] pkg-name ...');
$state->{arch} = $state->opt('A');
@@ -133,6 +133,7 @@ sub handle_options
$state->{pkglist} = $state->opt('l');
$state->{update} = $state->opt('u');
$state->{fuzzy} = $state->opt('z');
+ $state->{debug_packages} = $state->opt('d');
if ($state->defines('snapshot')) {
$state->{subst}->add('snap', 1);
}