diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 02:32:47 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 02:32:47 +0000 |
commit | 62f60a99f83c7b5c820dcb9452d00dfffd381035 (patch) | |
tree | df97879bbd9f330b51a889f66c7f376f3539eedb /urpm | |
parent | 458bbe750abd279dc9749b824a986a73f0cffafd (diff) | |
download | urpmi-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')
-rw-r--r-- | urpm/args.pm | 2 |
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] }, }, |