Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- configValueGetOpt :: [OptDescr a] -> Value -> ([a], [String])
Documentation
configValueGetOpt :: [OptDescr a] -> Value -> ([a], [String]) Source
Process the given list of options using a configuration Value
.
The configuration value must be a section map. The section names
correspond to the long-names of the options.
Arguments with required parameters should have the option value
follow immediately. To omit a parameter to an option, set it to yes
.
To omit an option entirely, set it to no
or remove it from the file.
Options can be provided as decimal literals or string literals.