Safe Haskell | Safe-Inferred |
---|
- cmdDesc :: Parser a -> Chunk Doc
- briefDesc :: ParserPrefs -> Parser a -> Chunk Doc
- fullDesc :: ParserPrefs -> Parser a -> Chunk Doc
- data ParserHelp = ParserHelp {}
- helpText :: ParserHelp -> Doc
- errorHelp :: Chunk Doc -> ParserHelp
- headerHelp :: Chunk Doc -> ParserHelp
- usageHelp :: Chunk Doc -> ParserHelp
- bodyHelp :: Chunk Doc -> ParserHelp
- footerHelp :: Chunk Doc -> ParserHelp
- parserHelp :: ParserPrefs -> Parser a -> ParserHelp
- parserUsage :: ParserPrefs -> Parser a -> String -> Doc
Documentation
helpText :: ParserHelp -> DocSource
errorHelp :: Chunk Doc -> ParserHelpSource
headerHelp :: Chunk Doc -> ParserHelpSource
usageHelp :: Chunk Doc -> ParserHelpSource
bodyHelp :: Chunk Doc -> ParserHelpSource
footerHelp :: Chunk Doc -> ParserHelpSource
parserHelp :: ParserPrefs -> Parser a -> ParserHelpSource
Generate the help text for a program.
parserUsage :: ParserPrefs -> Parser a -> String -> DocSource
Generate option summary.