summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-12-15 15:56:41 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-12-15 15:56:41 +0000
commitb5c5e7c45886de4f2ee25c1b80309f031d35ae70 (patch)
tree36a6e59223d28afb8edeaa16e5e227aef7fef22d /usr.sbin/pkg_add
parent48832036d8a253591337618581f02e4e1c9ea146 (diff)
tweak the defaults to also do -M if you ask for info on a given package.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_info4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info
index 650688b1d42..9fb73921426 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.70 2008/10/26 16:16:37 espie Exp $
+# $OpenBSD: pkg_info,v 1.71 2008/12/15 15:56:40 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -411,7 +411,7 @@ unless ($opt_c || $opt_M || $opt_U || $opt_d || $opt_f || $opt_I || $opt_i ||
if (@ARGV == 0) {
$opt_I = $opt_a = 1;
} else {
- $opt_c = $opt_d = $opt_R = 1;
+ $opt_c = $opt_d = $opt_M = $opt_R = 1;
}
}