mirror of
https://github.com/GaloisInc/what4.git
synced 2024-11-29 13:55:51 +03:00
Use comma separators for enum style config value listing.
This commit is contained in:
parent
e8666ca850
commit
bdcc394836
@ -482,7 +482,7 @@ enumOptSty elts = stringOptSty & set_opt_onset vf
|
||||
| otherwise = return $ optErr $
|
||||
"invalid setting" <+> dquotes (pretty x) <>
|
||||
", expected one of these enums:" <+>
|
||||
align (sep (map pretty $ Set.toList elts))
|
||||
align (sep (punctuate comma (map pretty $ Set.toList elts)))
|
||||
|
||||
-- | A configuration syle for options that must be one of a fixed set of text values.
|
||||
-- Associated with each string is a validation/callback action that will be run
|
||||
|
Loading…
Reference in New Issue
Block a user