diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-01 15:44:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-01 15:44:40 +0000 |
commit | e6d6502758210991a8fff3159b62f386138f6477 (patch) | |
tree | 50a33822b47b59db949174e8dd12abe3b58d0122 /urpmf | |
parent | 348de183f06992ca578503bdba9ce28f15f6ba76 (diff) | |
download | urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.gz urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.bz2 urpmi-e6d6502758210991a8fff3159b62f386138f6477.tar.xz urpmi-e6d6502758210991a8fff3159b62f386138f6477.zip |
factorize handling of -q|--quiet and -v|--verbose for all tools
this fixes -q option not handled by urpmi.update (#31890)
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ if ($full) { $qf =~ s/%name\b/%fullname/ } #- we really don't want logs on stdout, and remove verbose if not asked. $urpm->{info} = sub { print STDERR "$_[0]\n" }; -$urpm->{log} = $options{verbose} ? sub { print STDERR "$_[0]\n" } : sub {}; +$urpm->{log} = sub { print STDERR "$_[0]\n" } if $options{verbose} > 0; my $multitag = ''; my %multitags = map { $_ => 1 } qw(conffiles conflicts files obsoletes provides requires); |