Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
-
data
ParserHelp
=
ParserHelp
{
- helpError :: Chunk Doc
- helpSuggestions :: Chunk Doc
- helpHeader :: Chunk Doc
- helpUsage :: Chunk Doc
- helpDescription :: Chunk Doc
- helpBody :: Chunk Doc
- helpGlobals :: Chunk Doc
- helpFooter :: Chunk Doc
- renderHelp :: Int -> ParserHelp -> String
- helpText :: ParserHelp -> Doc
Documentation
data ParserHelp Source #
ParserHelp | |
|
Instances
Show ParserHelp Source # | |
Defined in Options.Applicative.Help.Types |
|
Semigroup ParserHelp Source # | |
Defined in Options.Applicative.Help.Types (<>) :: ParserHelp -> ParserHelp -> ParserHelp Source # sconcat :: NonEmpty ParserHelp -> ParserHelp Source # stimes :: Integral b => b -> ParserHelp -> ParserHelp Source # |
|
Monoid ParserHelp Source # | |
Defined in Options.Applicative.Help.Types mempty :: ParserHelp Source # mappend :: ParserHelp -> ParserHelp -> ParserHelp Source # mconcat :: [ ParserHelp ] -> ParserHelp Source # |
renderHelp :: Int -> ParserHelp -> String Source #
Convert a help text to
String
.
helpText :: ParserHelp -> Doc Source #