You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jim Quelle <qu...@acm.org> on 2000/08/20 18:02:41 UTC

Rationale for 'help' as non-standard option?

Naturally, on picking up ANT, one of my first targets was name="help".
Line 122 in Main.java 1.1 prevents this
from being parsed as a target ("if (arg.equals("-help") ||
arg.equals("help"))").

It seemed to me that option "-help" should give info about ANT, and
target "help" should give info about the
buildfile in use.  What am I missing?
-- Jim


RE: Rationale for 'help' as non-standard option?

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Jim,

> -----Original Message-----
> From: quelle@acm.org [mailto:quelle@acm.org]
> Sent: Monday, 21 August 2000 2:03
> To: ant-user@jakarta.apache.org
> Subject: Rationale for 'help' as non-standard option?
> 
> 
> Naturally, on picking up ANT, one of my first targets was name="help".
> Line 122 in Main.java 1.1 prevents this
> from being parsed as a target ("if (arg.equals("-help") ||
> arg.equals("help"))").
> 
> It seemed to me that option "-help" should give info about ANT, and
> target "help" should give info about the
> buildfile in use.  What am I missing?


... the latest version from CVS. The "help" option was recently removed.

Conor