summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-27 17:38:52 +0100
committerIan Lynagh <igloo@earth.li>2012-05-27 17:38:52 +0100
commite5191c953bb24a20321e8422317e017f39a10857 (patch)
treecb9776257de4b1d251503e8bc2ea664d69a8bfec /utils
parent6582871e92a12d3e4ffc5cae1eea37f7d88cb558 (diff)
downloadhaskell-e5191c953bb24a20321e8422317e017f39a10857.tar.gz
Accept -package-conf so cabal-install works
Really we ought to support all the old flags, but warn that they are deprecated.
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 83b5447789..3389c07369 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -129,7 +129,7 @@ flags = [
"use the current user's package database",
Option [] ["global"] (NoArg FlagGlobal)
"use the global package database",
- Option ['f'] ["package-db"] (ReqArg FlagConfig "FILE")
+ Option ['f'] ["package-db", "package-conf"] (ReqArg FlagConfig "FILE")
"use the specified package config file",
Option [] ["global-package-db"] (ReqArg FlagGlobalConfig "FILE")
"location of the global package config",