| Copyright | (c) Maciek Makowski 2015 |
|---|---|
| License | BSD-like |
| Maintainer | cabal-devel@haskell.org |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Distribution.Client.Manpage
Contents
Description
Functions for building the manual page.
Synopsis
- manpage :: String -> [CommandSpec a] -> String
- manpageCmd :: String -> [CommandSpec a] -> ManpageFlags -> IO ()
- data ManpageFlags
- defaultManpageFlags :: ManpageFlags
- manpageOptions :: ShowOrParseArgs -> [OptionField ManpageFlags]
Manual page generation
manpage :: String -> [CommandSpec a] -> String #
Produces a manual page with troff markup.
manpageCmd :: String -> [CommandSpec a] -> ManpageFlags -> IO () #
data ManpageFlags #