Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read headers or not-classes via cppman? #114

Open
autistic456 opened this issue Jun 25, 2020 · 2 comments
Open

How to read headers or not-classes via cppman? #114

autistic456 opened this issue Jun 25, 2020 · 2 comments

Comments

@autistic456
Copy link

I cannot read for example headers, like: $ cppman '<iostream>', or man page for operators like $ cppman 'operators precedence'. Can authors please add to their README file also naming? Like what they named each section of man pages or a tutorial hot to look-up and properly name the man page entry? Also, may pages could not be reached: err 404

@Gray-Stone
Copy link

I also found similar problems. I can't find a way to access pages like constructor, lambda, etc. cppman seems only catch pages under std::

@zigmars
Copy link

zigmars commented Sep 18, 2023

For what I needed so far, it turns out You can do it by passing page title as the only unnamed parameter.
cppman "C++ Operator Precedence"
(or a unique string prefix for that page, e.g. cppman "C++ Op", i just usually reverse-search with C^-r + op)

cppman "Lambda expressions" or cppman "Lambda " (with the last space being necessary)

Though the overview pages"C++ reference" and "C++ language" are still half useless without cross-links to man pages, whose names are listed just as a plain text there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants