From e6d6502758210991a8fff3159b62f386138f6477 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 1 Aug 2007 15:44:40 +0000 Subject: factorize handling of -q|--quiet and -v|--verbose for all tools this fixes -q option not handled by urpmi.update (#31890) --- urpmi.addmedia | 2 -- 1 file changed, 2 deletions(-) (limited to 'urpmi.addmedia') diff --git a/urpmi.addmedia b/urpmi.addmedia index e1d0eece..c8bb7076 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -103,8 +103,6 @@ my $urpm = new urpm; urpm::args::parse_cmdline(urpm => $urpm) or usage(); our ($name, $url, $with, $relative_hdlist) = our @cmdline; -#- remove verbose if not asked. -$options{verbose} > 0 or $urpm->{log} = sub {}; $options{quiet} = 1 if $options{verbose} < 0; $url or ($url, $name) = ($name, ''); -- cgit v1.2.1