summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 02:25:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 02:25:26 +0000
commit458bbe750abd279dc9749b824a986a73f0cffafd (patch)
tree33b0993575752b9985b8a4fb6be66d421d9c51eb /urpm
parent01f500e8ee880ad2c249d0fcdad00b70d721c257 (diff)
downloadurpmi-458bbe750abd279dc9749b824a986a73f0cffafd.tar
urpmi-458bbe750abd279dc9749b824a986a73f0cffafd.tar.gz
urpmi-458bbe750abd279dc9749b824a986a73f0cffafd.tar.bz2
urpmi-458bbe750abd279dc9749b824a986a73f0cffafd.tar.xz
urpmi-458bbe750abd279dc9749b824a986a73f0cffafd.zip
Add options -q and -v (quiet and verbose) to urpmi.{add,remove}media
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 76a60460..48ce9b38 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -256,6 +256,8 @@ my %options_spec = (
'version=s' => \$options{version},
'arch=s' => \$options{arch},
virtual => \$options{virtual},
+ 'q|quiet' => sub { --$options{verbose} },
+ 'v|verbose' => sub { ++$options{verbose} },
'<>' => sub {
if ($_[0] =~ /^--distrib-(.*)$/) {
$options{distrib} = $1;