summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-10 14:29:10 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-10 14:29:10 +0000
commit4f1973e21f577f0e908d722421f2c61135ab9704 (patch)
tree50965216473b349aff50d73b060ab96bb94a22e4 /urpm/args.pm
parent42e551c708aed332e1e76a5de7cccdb7362b3c58 (diff)
downloadurpmi-4f1973e21f577f0e908d722421f2c61135ab9704.tar
urpmi-4f1973e21f577f0e908d722421f2c61135ab9704.tar.gz
urpmi-4f1973e21f577f0e908d722421f2c61135ab9704.tar.bz2
urpmi-4f1973e21f577f0e908d722421f2c61135ab9704.tar.xz
urpmi-4f1973e21f577f0e908d722421f2c61135ab9704.zip
Add a retry option to urpmi and urpmi.cfg (bug #1174)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index bc90e660..84c62cfe 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -85,6 +85,7 @@ my %options_spec = (
curl => sub { $urpm->{options}{downloader} = 'curl' },
'limit-rate=s' => sub { $urpm->{options}{'limit-rate'} = $_[1] },
'resume!' => sub { $urpm->{options}{resume} = $_[1] },
+ 'retry=s' => sub { $urpm->{options}{retry} = $_[1] },
'proxy=s' => sub {
my (undef, $value) = @_;
my ($proxy, $port) = $value =~ m,^(?:http://)?([^:/]+(:\d+)?)/*$,