summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS2
-rw-r--r--urpm/args.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a4db4bc7..14d6122d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- all tools
+ o --debug now implies --verbose
- urpmi.addmedia
o [bugfix] fix using "with synthesis.hdlist.cz" (#31081)
o don't overwrite existing urpmi.cfg with an empty file
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]) },