Hans,

On Wed, 2008-07-16 at 18:02 +0200, Hans Dockter wrote:

> I have updated Head to use the new JOpt simple 2.4.1. The help output  
> is fine now.

For some definitions of fine :-)  I generally use terminals that are
150-180 characters wide so output that assumes a fixed 80 character line
width looks dreadful.  It seems that JOpt Simple is making the same
mistake as Commons CLI and not fitting the output to the actual width of
the terminal if that can be determined or 80 characters if it cannot.
Still not really a Gradle issue.

> What you can also do with JOpt simple is: gradle clean -Dskip.test libs
> 
> This arbitrary positioning of parameters is really cool when you work  
> with the history of the command line and just wan to add a skip or  
> whatever.

So does this mean that the -D option is an option to the clean target ?

Consider a command line such as:

|>  bzr -Dtransport pull --remember http://blah.blah.blah

The ordering of the options is actually critical here.  Having a system
where the ordering of parameters on the command line is not obeyed is
going to lead to great confusion.

-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to