]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind/Session.pm
Fix valgrind option to Test::Valgrind::Session->new
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Session.pm
index c7240b9fe4ae3de9c6e0995c5c5bcf0c7778ca6d..47150e1a86208ab0fdb6bb1daa6d629399c7d23f 100644 (file)
@@ -83,7 +83,7 @@ sub new {
  my %args = @_;
 
  my @paths;
- my $vg = delete $args{vg};
+ my $vg = delete $args{valgrind};
  if (defined $vg and not ref $vg) {
   @paths = ($vg);
  } else {
@@ -277,6 +277,10 @@ Read-only accessor for the C<action> associated to the current run.
 
 Read-only accessor for the C<tool> associated to the current run.
 
+=head2 C<parser>
+
+Read-only accessor for the C<parser> associated to the current tool.
+
 =head2 C<command>
 
 Read-only accessor for the C<command> associated to the current run.