Man page - cppman(1)
Packages contains this manual
Manual
CPPMAN
NAMESYNOPSIS
DESCRIPTION
Browsing man pages
man compatibility
OPTIONS
NOTE
BUGS
AUTHOR
NAME
cppman - C++ manual page viewer / fetcher
SYNOPSIS
cppman [ OPTIONS... ] PAGE...
DESCRIPTION
cppman generates C++ manual pages from cplusplus.com and provide a man-like interface to view man pages.
By default, cppman fetches man pages on-the-fly, by running the command ācppman -cā, all available manpages are cached, making offline browsing possible. This is also required if you want to use the system āmanā command.
Browsing man pages
cppman uses Vi
Improved as a pager.
Press āqā to leave pager. Press āKā
on an entry like āvector::insert(3)ā links you
to the manual page of vector::insert, like a hyperlink.
man compatibility
cppman automatically adds ā$XDG_CACHE_HOME/cppman/manā to āĖ/.manpathā, so the cached man pages can also be viewed with āmanā command. Note that to view uncached man pages, you still need to run ācppmanā.
OPTIONS
-s SOURCE, --source=SOURCE
Select source, either ācppreference.comā or ācplusplus.comā. Default is ācppreference.comā.
-c, --cache-all
cache all available man pages from cplusplus.com to enable offline browsing
-C, --clear-cache
clear all cached files
-f KEYWORD, --find-page=KEYWORD
find man page
-o, --force-update
force cppman to update existing cache when ā--cache-allā or browsing man pages that were already cached
-m MANDB, --use-mandb=MANDB
Accepts ātrueā or āfalseā. If true, cppman adds manpage path to mandb so that you can view C++ manpages with āmanā command. The default value is āfalseā.
-p PAGER, --pager=PAGER
Select pager to use, accepts āvimā, ānvimā or ālessā. The default value is āvimā. If ānvimā is selected, but not available, āvimā is used as a fallback and vice versa. If either is selected, but neither is available, ālessā is used as a fallback.
-r, --rebuild-index
rebuild index database from cplusplus.com
-v, --version
show version information
-h, --help
show this help message and exit
NOTE
All contents should be cached by the user, cppman does not contain any pre-cached contents.
Do not distribute the cached man pages without the permission of cplusplus.com.
BUGS
Although I spend
a lot of time checking the format, there are still pages
that wonāt display correctly.
Feel free to report bugs at:
https://github.com/aitjcize/cppman/issues
or
mailto:aitjcize@gmail.com.
Please include the page name in the bug report.
AUTHOR
Wei-Ning Huang (AZ) <aitjcize@gmail.com>