gimbo/docidx.hs — pull request #2 by TheLinuxKitten (2014-07-05 17:44:10+00:00)
Title: Add standard -g flag to specify GHC options

The '-g' flag is implemented in various haskell utilities to accept GHC options and pass them to GHC utilities (ghc, ghc-pkg).
This request implements the '-g' flag, and filters '--package-db' options in the cabal query.