#947: let "cabal -fSomeFlag" produce error for undeclared flags ---------------------------------+------------------------------------------ Reporter: Oblosys | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.10.2.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Description changed by kosmikus:
Old description: > 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 New description: 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 }}} -- -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/947#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel