Fix --help output to go to stderr, not stdout, bug397.

This commit is contained in:
Wilson Snyder
2011-10-04 10:08:16 -04:00
parent f77aa2623c
commit 7c2fdd1ee9
11 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ process();
sub usage {
print "Version $VERSION\n";
pod2usage(-verbose=>2, -exitval => 2);
pod2usage(-verbose=>2, -exitval=>2, -output=>\*STDOUT);
exit (1);
}