Safe Haskell | None |
---|---|
Language | Haskell2010 |
Embedded documentation files in various formats, and helpers for viewing them.
|
Synopsis
- type Topic = String
- printHelpForTopic :: Tool -> Maybe Topic -> IO ()
- runManForTopic :: Tool -> Maybe Topic -> IO ()
- runInfoForTopic :: Tool -> Maybe Topic -> IO ()
- runPagerForTopic :: Tool -> Maybe Topic -> IO ()
Documentation
printHelpForTopic :: Tool -> Maybe Topic -> IO () Source #
Print plain text help for this tool. Takes an optional topic argument for convenience but it is currently ignored.
runManForTopic :: Tool -> Maybe Topic -> IO () Source #
Display a man page for this tool, scrolled to the given topic if provided, using the "man" executable in $PATH. Note when a topic is provided we force man to use the "less" executable in $PATH, ignoring $MANPAGER and $PAGER.