diff options
Diffstat (limited to 'opts.sml')
| -rw-r--r-- | opts.sml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ struct | "False" => false | _ => error "invalid boolean value" - fun getOpt (desc : (string * 'a optDesc) list) : string list = + fun getOpt (desc : (string * 'a optDesc) list) (args : string list) : string list = let val parsers = StringMap.fromList desc fun go [] = [] @@ -76,6 +76,6 @@ struct go args) end in - go (CommandLine.arguments ()) + go args end end |
