Improve error message for flags with missing required arguments (#12625)
authorroland <rsx@bluewin.ch>
Mon, 6 Aug 2018 16:50:38 +0000 (12:50 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Aug 2018 21:53:14 +0000 (17:53 -0400)
commitff06176b87078ce56cc7b6b3405a029ef3d0046f
treec9c4f42c61e49fef99be899a628a8b8915851133
parent4fc6524a2a4a0003495a96c8b84783286f65c198
Improve error message for flags with missing required arguments (#12625)

Test Plan: make TEST=T12625

Reviewers: jstolarek, austin, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #12625

Differential Revision: https://phabricator.haskell.org/D5030
compiler/main/CmdLineParser.hs
testsuite/tests/driver/T12625.hs [new file with mode: 0644]
testsuite/tests/driver/T12625.stderr [new file with mode: 0644]
testsuite/tests/driver/all.T