Changeset 8738

Show
Ignore:
Timestamp:
01/17/06 17:53:29 (3 years ago)
Author:
audreyt
Message:

* remove the redundant "--" in multiarg options.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Run/Args.hs

    r8729 r8738  
    7272unpackOptions (('-':opt):rest)  = unpackOption opt ++ unpackOptions rest 
    7373unpackOptions opts@[filename]   = opts 
    74 unpackOptions (filename:rest)   = filename : "--" : unpackOptions rest 
     74unpackOptions (filename:rest)   = filename : "--" : rest 
    7575 
    7676takesArg :: String -> Bool