~percona-toolkit-dev/percona-toolkit/use-local-mysql-versions-for-testing

« back to all changes in this revision

Viewing changes to bin/pt-deadlock-logger

  • Committer: Daniel Nichter
  • Date: 2013-11-08 01:47:46 UTC
  • mto: This revision was merged to the branch mainline in revision 592.
  • Revision ID: daniel@percona.com-20131108014746-p56kkp8y94cysyfu
Update OptionParser in all tools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1154
1154
}
1155
1155
 
1156
1156
if ( PTDEBUG ) {
1157
 
   print '# ', $^X, ' ', $], "\n";
 
1157
   print STDERR '# ', $^X, ' ', $], "\n";
1158
1158
   if ( my $uname = `uname -a` ) {
1159
1159
      $uname =~ s/\s+/ /g;
1160
 
      print "# $uname\n";
 
1160
      print STDERR "# $uname\n";
1161
1161
   }
1162
 
   print '# Arguments: ',
 
1162
   print STDERR '# Arguments: ',
1163
1163
      join(' ', map { my $a = "_[$_]_"; $a =~ s/\n/\n# /g; $a; } @ARGV), "\n";
1164
1164
}
1165
1165