summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2023-03-30 20:04:03 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-03 08:16:35 -0400
commit53e4d513a55df3c13424e7b649ce85b8113fa4c2 (patch)
tree90af9f4c1235ca39c28e22fc19430bffd37849d1 /packages
parentc2605e25bb166245310a13386e7f77915e9c2c3f (diff)
downloadhaskell-53e4d513a55df3c13424e7b649ce85b8113fa4c2.tar.gz
hadrian: Improve option parsing
Several options in Hadrian had their argument marked as optional (`OptArg`), but if the argument wasn't there they were just giving an error. It's more idiomatic to mark the argument as required instead; the code uses less Maybes, the parser can enforce that the argument is present, --help gives better output.
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions