summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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' },