Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- cmdDesc :: Parser a -> Chunk Doc
- briefDesc :: ParserPrefs -> Parser a -> Chunk Doc
- fold_tree :: OptTree (Chunk Doc) -> Chunk Doc
- fullDesc :: ParserPrefs -> Parser a -> Chunk Doc
- data ParserHelp = ParserHelp {}
- 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
errorHelp :: Chunk Doc -> ParserHelp Source
headerHelp :: Chunk Doc -> ParserHelp Source
usageHelp :: Chunk Doc -> ParserHelp Source
bodyHelp :: Chunk Doc -> ParserHelp Source
footerHelp :: Chunk Doc -> ParserHelp Source
parserHelp :: ParserPrefs -> Parser a -> ParserHelp Source
Generate the help text for a program.
parserUsage :: ParserPrefs -> Parser a -> String -> Doc Source
Generate option summary.