summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-30 10:25:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-30 10:25:39 +0000
commite15d45cca3d34d223927cf37f497de3a9703fb78 (patch)
tree2b3bb748ae58976d754f45e3fa431a5d7dcde5c3
parent93b04a501bf67a76ccdfc6ebd21c774060921ed5 (diff)
downloadurpmi-e15d45cca3d34d223927cf37f497de3a9703fb78.tar
urpmi-e15d45cca3d34d223927cf37f497de3a9703fb78.tar.gz
urpmi-e15d45cca3d34d223927cf37f497de3a9703fb78.tar.bz2
urpmi-e15d45cca3d34d223927cf37f497de3a9703fb78.tar.xz
urpmi-e15d45cca3d34d223927cf37f497de3a9703fb78.zip
fix handling --root and --debug
-rw-r--r--urpme4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpme b/urpme
index c1432a50..be66c9f1 100644
--- a/urpme
+++ b/urpme
@@ -62,10 +62,10 @@ usage:
@ARGV or usage();
my @origARGV = @ARGV;
-urpm::args::parse_cmdline() or exit(1);
+my $urpm = new urpm;
+urpm::args::parse_cmdline(urpm => $urpm) or exit(1);
@l = @ARGV;
-my $urpm = new urpm;
my $state = {};
#- remove verbose if not asked.