Ticket #89 (closed defect: fixed)
Command line throws exception if -files: is given no argument.
Reported by: | Chuck | Owned by: | Chuck |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
For example, if you put a space after the colon:
cobra -c -files: files-to-compile.text Unhandled Exception: System.ArgumentException: Invalid path at System.IO.Path.GetDirectoryName (System.String path) [0x00000] at ArgParser._processFilesFile (IList fileNamesList, System.Collections.Generic.List`1 fileList) [0x00000] at ArgParser._unpackOptions (System.Collections.Generic.Dictionary`2 valueDict, System.Collections.Generic.List`1 fileList) [0x00000] at ArgParser._parseArgs (IList`1 args, .OptionValues& options, System.Collections.Generic.List`1& paths) [0x00000] at ArgParser.ParseArgs (IList`1 args, .OptionValues& options, System.Collections.Generic.List`1& paths) [0x00000] at CommandLine.ParseArgs (IList`1 args, .OptionValues& options, System.Collections.Generic.List`1& paths) [0x00000] at CommandLine.Run (System.Collections.Generic.List`1 args) [0x00000] at CommandLine.Run () [0x00000] at CobraMain.Main () [0x00000]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.