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

Safe HaskellSafe-Inferred

Options.Applicative.Help.Core

Synopsis

Documentation

cmdDesc :: Parser a -> Chunk DocSource

Generate descriptions for commands.

briefDesc :: ParserPrefs -> Parser a -> Chunk DocSource

Generate a brief help text for a parser.

fullDesc :: ParserPrefs -> Parser a -> Chunk DocSource

Generate a full help text for a parser.

parserHelp :: ParserPrefs -> Parser a -> ParserHelpSource

Generate the help text for a program.

parserUsage :: ParserPrefs -> Parser a -> String -> DocSource

Generate option summary.