ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: Allowing antlibs to contribute diagnostics & version info
Date Tue, 26 Aug 2008 16:00:44 GMT
Tony Sweeney <tony.sweeney@springsource.com> wrote on 08/26/2008 11:24:47 
AM:

> Why not use '-V' for version, and '-v' for verbose (or vice versa)? 
> Perl and Python both do this (opposite ways round, as it happens). 
> Ruby uses '-v' for both (see man page); make and cc use '-v' for 
> version, awk and grep use '-V'; there's no existing 'standard', so 
> it's just a question of which way round.  If we're voting, my +1 would 
> be for '-V' -> version.

Ant already uses "-v" for verbose logging and "-version" to show it's own 
version information.

Gilles proposed that combining "-v" and "-version" (i.e. "verbose 
version") should trigger showing the Antlib version information in 
addition to Ant's version. I thought that was a great idea, but having 
started working on this feature I've found that it's not feasible to 
combine these two switches without a major rewrite of the command line 
argument handling logic.

I think using "-V" for the Antlib version switch would be terribly 
confusing, especially that "-v" means verbose, not version. I'm flexible 
on the name, but I think that the option to show Antlib version info 
should have it's own switch.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message