From: John L. Allen Date: Thu, 16 Jul 1998 11:43:54 +0000 (-0400) Subject: perlbug does not report usage on invalid flags X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f3260bf1a240854b4766f9aa531c00604c3da16f;p=p5sagit%2Fp5-mst-13.2.git perlbug does not report usage on invalid flags Message-ID: p4raw-id: //depot/perl@1595 --- diff --git a/utils/perlbug.PL b/utils/perlbug.PL index b3d9a7f..589e7e6 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -155,7 +155,7 @@ sub Init { $Is_MSWin32 = $^O eq 'MSWin32'; $Is_VMS = $^O eq 'VMS'; - getopts("dhva:s:b:f:F:r:e:SCc:to:n:"); + if (!getopts("dhva:s:b:f:F:r:e:SCc:to:n:")) { Help(); exit; }; # This comment is needed to notify metaconfig that we are # using the $perladmin, $cf_by, and $cf_time definitions.