[Swift-devel] [Bug 237] New: swift command argument parsing yields misleading error messages
    bugzilla-daemon at mcs.anl.gov 
    bugzilla-daemon at mcs.anl.gov
       
    Thu Dec  9 16:04:30 CST 2010
    
    
  
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=237
           Summary: swift command argument parsing yields misleading error
                    messages
           Product: Swift
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SwiftScript language
        AssignedTo: skenny at uchicago.edu
        ReportedBy: wilde at mcs.anl.gov
[mwilde at master lab]$ swift -confg cf -tc.file tc -sites.file sgecoast.xml
catsn.swift -n=1
SwiftScript program does not exist: -confg
For usage information:  swift -help
# two common issues:
1. any non-recognized flag makes the command think that the swift script should
follow. The error message should instead be "unknown arg".
(shown above)
2. non-accepted @arg() options are silently ignored. This could be fixed with
something like @options("a","b","n") etc.
-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the reporter.
    
    
More information about the Swift-devel
mailing list