argparser-0.3.3: Command line parsing framework for console applications

Copyright(c) Simon Bergot
LicenseBSD3
Maintainersimon.bergot@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

System.Console.ArgParser.Format

Contents

Description

Module containing helpers to print information about a parser.

Synopsis

Print information about the parser

showCmdLineAppUsage :: CmdLineFormat -> CmdLnInterface a -> String Source

Prints a long usage such as

  foo bar [bay]

showCmdLineVersion :: CmdLnInterface a -> String Source

Prints the application name and version

Help formatting

data CmdLineFormat Source

Specification of the help layout

defaultFormat :: CmdLineFormat Source

Default specification for the help layout