Ticket #947 (new enhancement)
let "cabal -fSomeFlag" produce error for undeclared flags
| Reported by: | Oblosys | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.14.2 |
| Component: | cabal-install tool | Version: | 1.14.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description (last modified by kosmikus) (diff)
Typos in flags can lead to confusing problems, especially with large projects that take a long time to build. A simple check could be quite useful:
~> hconfigure -fNonExistentFlag -fSomeFlag cabal: undeclared flag 'NonExistentFlag'. Declared flags are: ExistentFlag, SomeFlag
Change History
Note: See
TracTickets for help on using
tickets.
