summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
Diffstat (limited to 'urpme')
-rw-r--r--urpme3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpme b/urpme
index 71d2ea33..cb0afeb4 100644
--- a/urpme
+++ b/urpme
@@ -63,8 +63,7 @@ usage:
@ARGV or usage();
my @origARGV = @ARGV;
-my $urpm = new urpm;
-urpm::args::parse_cmdline(urpm => $urpm) or exit(1);
+my $urpm = urpm->new_parse_cmdline or exit(1);
@l = @ARGV;
my $state = {};