summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]) },