summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmq b/urpmq
index 0c6fe0cf..5f9176b6 100755
--- a/urpmq
+++ b/urpmq
@@ -117,8 +117,7 @@ sub escape_shell ($) {
#- parse arguments list.
@ARGV or usage();
-my $urpm = new urpm;
-urpm::args::parse_cmdline(urpm => $urpm) or exit(1);
+my $urpm = urpm->new_parse_cmdline or exit(1);
#- we really don't want logs on stdout, and remove verbose if not asked.
$urpm->{info} = sub { print STDERR "$_[0]\n" };