summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-10-15 17:12:03 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-10-15 17:12:03 +0000
commit64f60e96cd8b895cfd908d030d5e6d482b53b98f (patch)
treec3c38c120ff99a6aa547f1bd410bf23e08b19f0e /urpm/args.pm
parent6381a6079098697ddaba5ff6810a2e87658bca26 (diff)
downloadurpmi-64f60e96cd8b895cfd908d030d5e6d482b53b98f.tar
urpmi-64f60e96cd8b895cfd908d030d5e6d482b53b98f.tar.gz
urpmi-64f60e96cd8b895cfd908d030d5e6d482b53b98f.tar.bz2
urpmi-64f60e96cd8b895cfd908d030d5e6d482b53b98f.tar.xz
urpmi-64f60e96cd8b895cfd908d030d5e6d482b53b98f.zip
allow to define the cache directory for RPMs when setting --download-all
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d9e26718..e2a0751f 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -130,8 +130,7 @@ my %options_spec = (
'parallel=s' => \$::parallel,
'metalink!' => sub { $urpm->{options}{metalink} = $_[1] },
- 'download-all!' => sub { $urpm->{options}{'download-all'} = $_[1] },
-
+ 'download-all:s' => sub { $urpm->{options}{'download-all'} = $_[1] },
# deprecated in favor of --downloader xxx
wget => sub { $urpm->{options}{downloader} = 'wget' },
curl => sub { $urpm->{options}{downloader} = 'curl' },