hlint

CmdLine

Synopsis

Documentation

data Cmd

Constructors

Cmd 

Fields

cmdTest :: Bool

run in test mode?

cmdFiles :: Maybe [FilePath]

which files to run it on, nothing = none given

cmdHintFiles :: [FilePath]

which settingsfiles to use

cmdGivenHints :: [FilePath]

which settignsfiles were explicitly given

cmdReports :: [FilePath]

where to generate reports

cmdIgnore :: [String]

the hints to ignore

cmdShowAll :: Bool

display all skipped items

cmdColor :: Bool

color the result

cmdCpp :: CppFlags

options for CPP

cmdDataDir :: FilePath

the data directory

cmdEncoding :: Encoding

the text encoding

cmdFindHints :: [FilePath]

source files to look for hints in

cmdLanguage :: [Extension]

the extensions (may be prefixed by No)

cmdQuiet :: Bool

supress all console output

cmdCross :: Bool

work between source files

data CppFlags

Constructors

NoCpp 
CppSimple 
Cpphs CpphsOptions 

getCmd :: [String] -> IO Cmd

Exit out if you need to display help info