summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-05 09:58:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-05 09:58:56 +0000
commitc1c63c07d9e16ddf9005608f0f69c1fab18c2cc4 (patch)
treea179781e1ca3275b1ca38c56e107fda2cca3af58 /urpm/args.pm
parentd1cf0dfe4b776191cf720677a7c775258be0b531 (diff)
downloadurpmi-c1c63c07d9e16ddf9005608f0f69c1fab18c2cc4.tar
urpmi-c1c63c07d9e16ddf9005608f0f69c1fab18c2cc4.tar.gz
urpmi-c1c63c07d9e16ddf9005608f0f69c1fab18c2cc4.tar.bz2
urpmi-c1c63c07d9e16ddf9005608f0f69c1fab18c2cc4.tar.xz
urpmi-c1c63c07d9e16ddf9005608f0f69c1fab18c2cc4.zip
allow --no-metalink
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 7207f844..67832b73 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -122,7 +122,7 @@ my %options_spec = (
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
'parallel=s' => \$::parallel,
- metalink => sub { $urpm->{options}{metalink} = 1 },
+ 'metalink!' => sub { $urpm->{options}{metalink} = $_[1] },
# deprecated in favor of --downloader xxx
wget => sub { $urpm->{options}{downloader} = 'wget' },