summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-29 02:42:27 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-29 02:42:27 +0000
commit999a07db7b69bfffb350ed0c439f7ea3deb2a14c (patch)
treec5d5aedf881d4fcc996ab905b7274b9969d99f0d /urpm/args.pm
parentc72ae1c2a0aa6701521129756ef80ca83376e662 (diff)
downloadurpmi-999a07db7b69bfffb350ed0c439f7ea3deb2a14c.tar
urpmi-999a07db7b69bfffb350ed0c439f7ea3deb2a14c.tar.gz
urpmi-999a07db7b69bfffb350ed0c439f7ea3deb2a14c.tar.bz2
urpmi-999a07db7b69bfffb350ed0c439f7ea3deb2a14c.tar.xz
urpmi-999a07db7b69bfffb350ed0c439f7ea3deb2a14c.zip
Add an experimental --restricted option, based on code by Michael Scherer
(bug #16610)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 56d39718..a6d7275e 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -118,6 +118,7 @@ my %options_spec = (
'more-choices' => sub { $urpm->{options}{morechoices} = 1 },
'expect-install!' => \$::expect_install,
'nolock' => \$::nolock,
+ restricted => \$::restricted,
a => \$::all,
q => sub { --$::verbose; $::rpm_opt = '' },
v => sub { ++$::verbose; $::rpm_opt = 'vh' },