summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-27 08:23:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-27 08:23:15 +0000
commit05384c1a029f516e9fb57a1f19dff05814091ebc (patch)
treed00c371816140a039391eb628bb4e0995030251e /urpm/args.pm
parent92336daa0e10734d8025e0a874c8e2279b9940a2 (diff)
downloadurpmi-05384c1a029f516e9fb57a1f19dff05814091ebc.tar
urpmi-05384c1a029f516e9fb57a1f19dff05814091ebc.tar.gz
urpmi-05384c1a029f516e9fb57a1f19dff05814091ebc.tar.bz2
urpmi-05384c1a029f516e9fb57a1f19dff05814091ebc.tar.xz
urpmi-05384c1a029f516e9fb57a1f19dff05814091ebc.zip
Add the --strict-arch command-line option to urpmi and the strict-arch configuration file option
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 523fbe78..ca447cc9 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -104,6 +104,7 @@ my %options_spec = (
$options{X} ||= $ENV{DISPLAY} && system('/usr/X11R6/bin/xtest', '') == 0
},
'verify-rpm!' => sub { $urpm->{options}{'verify-rpm'} = $_[1] },
+ 'strict-arch!' => sub { $urpm->{options}{'strict-arch'} = $_[1] },
'norebuild!' => sub { $urpm->{options}{norebuild} = $_[1] },
'test!' => \$::test,
'skip=s' => \$options{skip},