Remove check includes option of ghc-mod check command. Now, we can pass all ghc options to ghc-mod check.
This commit is contained in:
@@ -40,7 +40,6 @@ defaultOptions = Options {
|
||||
convert = toPlain
|
||||
, hlintOpts = []
|
||||
, ghcOpts = []
|
||||
, checkIncludes = []
|
||||
, operators = False
|
||||
, packageConfs = []
|
||||
, useUserPackageConf = True
|
||||
@@ -65,9 +64,6 @@ argspec = [ Option "l" ["tolisp"]
|
||||
, Option "" ["no-user-package-conf"]
|
||||
(NoArg (\opts -> opts{ useUserPackageConf = False }))
|
||||
"do not read the user package database"
|
||||
, Option "i" ["include"]
|
||||
(ReqArg (\i opts -> opts{ checkIncludes = i : checkIncludes opts }) "include")
|
||||
"directory to include in search for modules"
|
||||
]
|
||||
|
||||
parseArgs :: [OptDescr (Options -> Options)] -> [String] -> (Options, [String])
|
||||
|
||||
Reference in New Issue
Block a user