[Mono-list] Bug in command-line handling of mcs.exe

Thomas F. Burdick tfb@OCF.Berkeley.EDU
Thu, 21 Feb 2002 10:16:15 -0800


Miguel de Icaza writes:

 > 	* Always handle /option like --option, and have a special
 > 	  /quote to "quote" the next option as a filename, so
 > 	  if you really wanted to compile /? (which btw, right now
 > 	  we refuse to, because it has to end in .cs), then you would
 > 	  use:
 > 		mcs /quote /?

This might be one of the only good times to use argv[0], and have one
command that takes --option, and one that takes /option.  Any absolute
pathnames will get parsed as /options, which will be crazy on unix.

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'