Bugs item #1368753, was opened at 2005-11-29 14:18
Message generated for change (Comment added) made by bevan-arps
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1368753&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: Jonathan Allen (greywolfghost)
Assigned to: Nobody/Anonymous (nobody)
Summary: Command line switches use the wrong format

Initial Comment:
The command line switches all start with a - instead 
of a /. This is a problem for two reasons.

First, most DOS and Windows users except command line 
arguments to start with a /. There is no reason to use 
a non-standard UI in this case and it is very annoying.

More importantly, there is a reason why swtiches start 
with a /. Filenames can start with a -. This is 
currently a problem with nAnt, but may be in the 
future if new command line arguments are added.

Jonathan Allen


----------------------------------------------------------------------

Comment By: Bevan (bevan-arps)
Date: 2005-11-29 15:00

Message:
Logged In: YES 
user_id=1391661

Using "-" to prefix commandline arguments is a long 
standing tradition. In fact, one that predates DOS 
entirely - many of the commandline tools I used on VAX and 
CP/M systems used "-" as a prefix.

NAnt supports the use of *either* "/" or "-", in common 
with many tools, so there should always be a form that 
doesn't clash with a filename.


----------------------------------------------------------------------

Comment By: Jonathan Allen (greywolfghost)
Date: 2005-11-29 14:56

Message:
Logged In: YES 
user_id=1319665

Its documented incorrectly then, but thats not a big deal.

----------------------------------------------------------------------

Comment By: Ian MacLean (ianm74)
Date: 2005-11-29 14:51

Message:
Logged In: YES 
user_id=321872

Hi Jonathon,
Actually nant supports both forms of switch / and +. So does
csc and the other .net commandline tools.

Give it a try. 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1368753&group_id=31650


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to