summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
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 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;