summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 08:35:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 08:35:47 +0000
commit4f0fbf247f66c0171e0c6e4361d7125e2c163703 (patch)
tree24fca3727e76d1e0b8e24aed7b65eea50d65329f /urpm
parent57a0282de4dc245e67a58e221bcbe40fdaf2540a (diff)
downloadurpmi-4f0fbf247f66c0171e0c6e4361d7125e2c163703.tar
urpmi-4f0fbf247f66c0171e0c6e4361d7125e2c163703.tar.gz
urpmi-4f0fbf247f66c0171e0c6e4361d7125e2c163703.tar.bz2
urpmi-4f0fbf247f66c0171e0c6e4361d7125e2c163703.tar.xz
urpmi-4f0fbf247f66c0171e0c6e4361d7125e2c163703.zip
cleanup, and also add --metalink on urpmq
(no reason not to have it there too)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 68a6ed03..1f90156c 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -330,7 +330,6 @@ my %options_spec = (
}
push @::cmdline, $p;
},
- metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.addmedia' => {
@@ -344,7 +343,6 @@ my %options_spec = (
virtual => \$options{virtual},
nopubkey => \$options{nopubkey},
raw => \$options{raw},
- metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.recover' => {
@@ -431,7 +429,7 @@ foreach my $k ("help|h", "version", "update", "media|mediums=s",
}
foreach my $k ("help|h", "version", "wget", "curl", "prozilla", "aria2", 'downloader=s', "proxy=s", "proxy-user=s",
- 'limit-rate=s',
+ 'limit-rate=s', 'metalink',
"wget-options=s", "curl-options=s", "rsync-options=s", "prozilla-options=s", "aria2-options=s")
{
$options_spec{'urpmi.update'}{$k} =
@@ -439,7 +437,7 @@ foreach my $k ("help|h", "version", "wget", "curl", "prozilla", "aria2", 'downlo
}
foreach my $k ("help|h", "wget", "curl", "prozilla", "aria2", 'downloader=s', "proxy=s", "proxy-user=s", "f", "z",
- "limit-rate=s", "no-md5sum", "update", "norebuild!", "probe-rpms",
+ "limit-rate=s", "no-md5sum", "update", "norebuild!", "probe-rpms", 'metalink',
"wget-options=s", "curl-options=s", "rsync-options=s", "prozilla-options=s", "aria2-options=s", '<>')
{
$options_spec{'urpmi.addmedia'}{$k} = $options_spec{'urpmi.update'}{$k};