ClearCase-Wrapper-DSB
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
=item * UPDATE
Adds a B<-quiet> option to strip out all those annoying
C<Processing dir ...> and C<End dir ...> messages so you can see what
files actually changed. It also suppresses logging by redirecting the
log file to /dev/null.
=cut
sub update {
my %opt;
GetOptions(\%opt, qw(quiet));
return 0 if !$opt{quiet};
if (!grep m%^-log%, @ARGV) {
splice(@ARGV, 1, 0, '-log', MSWIN ? 'NUL' : '/dev/null');
}
my $ct = ClearCase::Argv->find_cleartool;
open(CMD, "$ct @ARGV |") || exit(2);
while(<CMD>) {
next if m%^(?:Processing|End)\s%;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.533 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )