Skip to content

Commit

Permalink
Added --quiet option
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Dec 28, 2010
1 parent 131ec2a commit d0e34dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion inc/Library/Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ sub new {
}
bless $self, $new_class;
$self->stash(verbose => 0);
$self->register_argument(verbose => 0);
$self->register_argument(
verbose => 0,
quiet => sub () {
my $options = shift;
$options->{verbose}--;
},
);
return $self;
}

Expand Down

0 comments on commit d0e34dc

Please sign in to comment.