[Hackage] #947: let "cabal -fSomeFlag" produce error for undeclared flags

Hackage cvs-ghc at haskell.org
Fri Apr 27 19:51:03 CEST 2012


#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:                      |  
---------------------------------+------------------------------------------
 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>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list