summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
Diffstat (limited to 'urpme')
-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.