optparse-applicative-0.12.1.0: Utilities and combinators for parsing command line options

Safe HaskellSafe
LanguageHaskell98

Options.Applicative.Help.Core

Synopsis

Documentation

cmdDesc :: Parser a -> Chunk Doc Source

Generate descriptions for commands.

briefDesc :: ParserPrefs -> Parser a -> Chunk Doc Source

Generate a brief help text for a parser.

fullDesc :: ParserPrefs -> Parser a -> Chunk Doc Source

Generate a full help text for a parser.

parserHelp :: ParserPrefs -> Parser a -> ParserHelp Source

Generate the help text for a program.

parserUsage :: ParserPrefs -> Parser a -> String -> Doc Source

Generate option summary.