summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-09 22:19:11 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-09 22:19:11 +0000
commitd6b28cdfb93d8c1a9a43093396a0d4dc9ed17482 (patch)
tree9e102e2bbaa16e28117253045bc2a5f527995b32 /urpm/args.pm
parent4cecb202f8765bcf4a381064631db04150cf687a (diff)
downloadurpmi-d6b28cdfb93d8c1a9a43093396a0d4dc9ed17482.tar
urpmi-d6b28cdfb93d8c1a9a43093396a0d4dc9ed17482.tar.gz
urpmi-d6b28cdfb93d8c1a9a43093396a0d4dc9ed17482.tar.bz2
urpmi-d6b28cdfb93d8c1a9a43093396a0d4dc9ed17482.tar.xz
urpmi-d6b28cdfb93d8c1a9a43093396a0d4dc9ed17482.zip
add local metalink generation
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 82d0d8ca..c3e23e73 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -123,6 +123,8 @@ my %options_spec = (
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
'parallel=s' => \$::parallel,
+ metalink => sub { $urpm->{options}{metalink} = 1 },
+
# deprecated in favor of --downloader xxx
wget => sub { $urpm->{options}{downloader} = 'wget' },
curl => sub { $urpm->{options}{downloader} = 'curl' },