System.Console.CmdArgs.Explicit.Help
- data HelpFormat
- helpText :: [String] -> HelpFormat -> Mode a -> [Text]
Documentation
data HelpFormat
Specify the format to output the help.
Constructors
HelpFormatDefault | Equivalent to |
HelpFormatOne | Display only the first mode. |
HelpFormatAll | Display all modes. |
HelpFormatBash | Bash completion information |
HelpFormatZsh | Z shell completion information |
helpText :: [String] -> HelpFormat -> Mode a -> [Text]
Generate a help message from a mode. The first argument is a prefix,
which is prepended when not using HelpFormatBash
or HelpFormatZsh
.