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

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

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
August 20, 2013 00:13
Subject:
[perl #117649] [PATCH] Refer to documentation on find2perl switch error
Message ID:
rt-3.6.HEAD-1873-1376957578-2.117649-15-0@perl.org
On Sun Jul 14 22:08:29 2013, tonyc wrote:
> On Thu May 09 02:25:27 2013, ppisar wrote:
> > On 2013-05-09, James E Keenan via RT <perlbug-followup@perl.org> 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.
> 
> Also:
> 
> tony@mars:.../git/bse$ find -h
> find: unknown predicate `-h'

I'm rejecting this ticket based on the above.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=117649

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About