summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 02:32:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 02:32:47 +0000
commit62f60a99f83c7b5c820dcb9452d00dfffd381035 (patch)
treedf97879bbd9f330b51a889f66c7f376f3539eedb /urpm/args.pm
parent458bbe750abd279dc9749b824a986a73f0cffafd (diff)
downloadurpmi-62f60a99f83c7b5c820dcb9452d00dfffd381035.tar
urpmi-62f60a99f83c7b5c820dcb9452d00dfffd381035.tar.gz
urpmi-62f60a99f83c7b5c820dcb9452d00dfffd381035.tar.bz2
urpmi-62f60a99f83c7b5c820dcb9452d00dfffd381035.tar.xz
urpmi-62f60a99f83c7b5c820dcb9452d00dfffd381035.zip
Add options -q and -v (quiet and verbose) to urpmi.update
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 48ce9b38..4c2f62bc 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -244,6 +244,8 @@ my %options_spec = (
'limit-rate=s' => \$options{limit_rate},
'no-md5sum' => \$options{nomd5sum},
'noa|d' => \my $dummy, # default, keeped for compatibility
+ 'q|quiet' => sub { --$options{verbose} },
+ 'v|verbose' => sub { ++$options{verbose} },
'<>' => sub { push @::toupdates, $_[0] },
},