summaryrefslogtreecommitdiff
path: root/Porting/bisect-runner.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-02-01 21:44:51 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-01 21:44:51 +0100
commit0ed3b851c1a44ee2a46a5cf0f07fb662405485b7 (patch)
treed7287c29bbaf77e97f34385344ef5b03975e542c /Porting/bisect-runner.pl
parent66b521dd22445ceaf2e0125c50b7cfb16f88a660 (diff)
downloadperl-0ed3b851c1a44ee2a46a5cf0f07fb662405485b7.tar.gz
bisect.pl now exits with 0 for success for --help
bisect.pl --help now exits with 0 for success. The "that took" timing message is no longer shown after the help text. The sanity test for "are we running from the current checkout" is now moved after the argument checking, so that bisect.pl --help will always show the help text.
Diffstat (limited to 'Porting/bisect-runner.pl')
-rwxr-xr-xPorting/bisect-runner.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 0dbeddbea4..f15f92dd03 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -88,7 +88,7 @@ my ($target, $j, $match) = @options{qw(target jobs match)};
@ARGV = ('sh', '-c', 'cd t && ./perl TEST base/*.t')
if $options{validate} && !@ARGV;
-pod2usage(exitval => 255, verbose => 1) if $options{usage};
+pod2usage(exitval => 0, verbose => 1) if $options{usage};
pod2usage(exitval => 255, verbose => 1)
unless @ARGV || $match || $options{'test-build'} || defined $options{'one-liner'};
pod2usage(exitval => 255, verbose => 1)