develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #117649] [PATCH] Refer to documentation on find2perl switch error

Thread Next
Tony Cook via RT
July 15, 2013 05:08
[perl #117649] [PATCH] Refer to documentation on find2perl switch error
Message ID:
On Thu May 09 02:25:27 2013, ppisar wrote:
> On 2013-05-09, James E Keenan via RT <> wrote:
> > I agree that the two current error messages are rather ... skimpy.
> >
> > But I'm not sure that you're suggestion of adding on "See manual or
> > perldoc page for usage help" adds much.
> After user realizes the switch is wrong, he wants to know correct usage.
> Unfortunately `find2perl -h' or `find2perl --help' do not help
> either. Pointing to the manual directly saves headaches. That's my
> motivation.

I'm inclined to agree with Jim here.

If a user tries something with a command-line tool they expect to work
and it doesn't, reaching for the documentation should be their first
impulse, not something we need to prompt them to do.


tony@mars:.../git/bse$ find -h
find: unknown predicate `-h'


via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About