cmdargs

System.Console.CmdArgs.Explicit.Help

Synopsis

Documentation

data HelpFormat

Specify the format to output the help.

Constructors

HelpFormatDefault

Equivalent to HelpFormatAll if there is not too much text, otherwise HelpFormatOne.

HelpFormatOne

Display only the first mode.

HelpFormatAll

Display all modes.

helpText :: HelpFormat -> Mode a -> [Text]

Generate a help message from a mode.