summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 14:12:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 14:12:17 +0000
commit9fe33de81b7c4c7acc0cce5a45e751b631d53122 (patch)
tree3bde6f1b6fc19e88b7a091f2cb6ff8c259f46457 /urpm/args.pm
parenta7daafde9b77d5c50deeb53cc67fd8475a922465 (diff)
downloadurpmi-9fe33de81b7c4c7acc0cce5a45e751b631d53122.tar
urpmi-9fe33de81b7c4c7acc0cce5a45e751b631d53122.tar.gz
urpmi-9fe33de81b7c4c7acc0cce5a45e751b631d53122.tar.bz2
urpmi-9fe33de81b7c4c7acc0cce5a45e751b631d53122.tar.xz
urpmi-9fe33de81b7c4c7acc0cce5a45e751b631d53122.zip
- urpmi
o handle --debug-librpm
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d2493fcb..9626fc6b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -50,6 +50,7 @@ my %options_spec_all = (
$options{verbose}++;
$urpm->{debug} = $urpm->{debug_URPM} = sub { print STDERR "$_[0]\n" };
},
+ 'debug-librpm' => sub { URPM::setVerbosity(7) }, # 7 == RPMLOG_DEBUG
'q|quiet' => sub { --$options{verbose} },
'v|verbose' => sub { ++$options{verbose} },
'urpmi-root=s' => sub { urpm::set_files($urpm, $_[1]) },