Skip to main content

Module man

Module man 

Source
Expand description

The man command. Command for displaying manual pages for packages.

Manual pages staged with zman() are opened with the system’s man viewer, falling back to info and finally to plain stdout. --page selects which page to show when a package ships several, and --raw prints the raw page source so it can be piped elsewhere.

Functions§

gather_manual_pages
Gathers raw manual page sources for a package, checking locally first and then upstream.
resolve_package_for_man
Resolves a package and optional registry handle for a given search term.
run
Runs the manual page viewer for the specified package.
select_page
Picks which manual page to display.