On Sat, Jun 06, 2009 at 09:50:09PM -0700, Joshua ben Jore wrote:
> 
> On Sat, Jun 6, 2009 at 7:26 PM, Adam Kaplan<[email protected]> wrote:
> >
> > Appears the change to make help return 1 instead of 0 dates back to
> > when I first merged in Tim's original code branch.  I'm not sure of
> > the reasoning.
> >
> > If it bothers you, you can fix it.
> 
> It does. My expectation is that invalid parameters ought to display
> the usage and return failure. Valid parameters return true even if the
> thing requested is the usage. Committed a couple changes
> 
> r754 | Invalid parameters to bin/nytprof* also prints usage
> r753 | prefer usage() to &usage because we're not using any magic
> r752 | bin/nytprof* --help exits true

Thanks. How about adding a note about escaping into the docs :)

Tim.

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to