summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index c3e23e73..c2a8c575 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -330,6 +330,7 @@ my %options_spec = (
}
push @::cmdline, $p;
},
+ metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.addmedia' => {
@@ -343,6 +344,7 @@ my %options_spec = (
virtual => \$options{virtual},
nopubkey => \$options{nopubkey},
raw => \$options{raw},
+ metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.recover' => {