summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-14 08:33:44 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-14 08:33:44 +0000
commitfadf35a458884372e139c97282a333f4a0d84f25 (patch)
tree83972b954e1c00e35e2329078590bf5bd76c086c /urpm
parent8c6c3610ab5d9fa60c2e38cbcba71d9517cfd6f6 (diff)
downloadurpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar
urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.gz
urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.bz2
urpmi-fadf35a458884372e139c97282a333f4a0d84f25.tar.xz
urpmi-fadf35a458884372e139c97282a333f4a0d84f25.zip
urpmi.addmedia was forgetting command-line arguments.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 5b4c9764..15d246fb 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -229,6 +229,9 @@ my %options_spec = (
if ($_[0] =~ /^--distrib-(.*)$/) {
$::options{distrib} = $1;
}
+ else {
+ push @::cmdline, $_[0];
+ }
},
},