hoogleSource codeContentsIndex
CmdLine.Flag
Description

Parse a list of flags supported in any of the front ends.

Returns the flags in a data structure, along with any invalid flags.

Deal with any files/include files in this stage.

Synopsis
data CmdFlag
= Version
| Web
| Help
| Test
| Color Bool
| Start Int
| Count Int
| Convert FilePath
| Output FilePath
| Dump String
| DataFile FilePath
| Verbose
| Info
| Debug
| Include FilePath
| TestFile FilePath
| Rank FilePath
| Combine FilePath
| Mode String
flagsHelp :: String
flagsWebArgs :: [(String, String)] -> IO ([CmdFlag], [String])
flagsWebQuery :: [(String, String)] -> IO ([CmdFlag], [String])
flagsCmdLine :: [(String, String)] -> IO ([CmdFlag], [String])
Documentation
data CmdFlag Source
Constructors
VersionVersion information
WebOperate as a CGI process
HelpHelp text
TestRun the regression tests
Color BoolColors on the console
Start IntFirst result to show
Count IntNumber of results to show
Convert FilePathConvert a database
Output FilePathOutput file
Dump StringDump a database to a file (optional section)
DataFile FilePathDatabase location
VerboseDisplay verbose information
InfoDisplay as much information as you can
DebugDo debugging activities
Include FilePathInclude directory
TestFile FilePathRun tests in a file
Rank FilePathGenerate rankings
Combine FilePathMerge a set of databases
Mode StringWeb modes
show/hide Instances
flagsHelp :: StringSource
flagsWebArgs :: [(String, String)] -> IO ([CmdFlag], [String])Source
flags that are passed in through web arguments, i.e. ?foo=bar&...
flagsWebQuery :: [(String, String)] -> IO ([CmdFlag], [String])Source
flags that are given in the web query string
flagsCmdLine :: [(String, String)] -> IO ([CmdFlag], [String])Source
flags that are given in a query on the command line
Produced by Haddock version 2.4.2