ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: [RFE] Default Help target on error ?
Date Tue, 25 Jul 2000 07:36:32 GMT
The current code is

if (arg.equals("-help") || arg.equals("help")) {
    printUsage();
    return;

so you can't have a help target, as far as I can see. Personally I would
like to get rid of that.

Conor



--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@bost.de]
> Sent: Tuesday, 25 July 2000 17:07
> To: ant-dev@jakarta.apache.org
> Subject: Re: [RFE] Default Help target on error ?
>
>
> >>>>> "CM" == Conor MacNeill <conor@cortexebusiness.com.au> writes:
>
>  CM> Am I missing something?
>
> Peter asked for a something that invoked help for the build process,
> not help for Ant. I'm sure he knows about "-help".
>
> And for a project specific help output "ant help" - together with a
> help target - seems more than appropriate. I was not proposing to add
> a magic meaning to a target named help, just pointed out how to do it
> right now.
>
> Stefan
>


Mime
View raw message