summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-01 12:12:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-01 12:12:52 +0000
commit8a79470e525a0c0523953cafa526e7c56647ddaf (patch)
tree11cdd525414e4f5f77d9c82088e1b945fb26a878 /urpm/args.pm
parentb5796a6fd02ab2b7c3079b0d1b8b66c79d56980b (diff)
downloadurpmi-8a79470e525a0c0523953cafa526e7c56647ddaf.tar
urpmi-8a79470e525a0c0523953cafa526e7c56647ddaf.tar.gz
urpmi-8a79470e525a0c0523953cafa526e7c56647ddaf.tar.bz2
urpmi-8a79470e525a0c0523953cafa526e7c56647ddaf.tar.xz
urpmi-8a79470e525a0c0523953cafa526e7c56647ddaf.zip
- all tools
o --debug now implies --verbose
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 3ce53e60..62786b7a 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -46,6 +46,7 @@ END { $::debug_exit and print STDERR "EXITING (pid=$$)\n" }
my %options_spec_all = (
'debug' => sub {
$::debug_exit = 1;
+ $::verbose++; $options{verbose}++;
$urpm->{debug} = $urpm->{debug_URPM} = sub { print STDERR "$_[0]\n" };
},
'urpmi-root=s' => sub { urpm::set_files($urpm, $_[1]) },