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

Search for pages instead of gems #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Search for pages instead of gems #11

wants to merge 5 commits into from

Conversation

Quintus
Copy link

@Quintus Quintus commented Feb 2, 2014

Hi there,

this PR makes gem-man search for page names instead of gem names. Previously, if you didn’t know which gem a manpage is contained in (e.g. you had a gem named "utilities" which contains serveral different executables and manpages) you weren’t able to view a commands manpage. Take for example the ronn-format(7) manpage. Whereas previously executing

$ gem man ronn-format

would not find anything (you had to know that manpage is contained in the ronn gem and hat to issue gem man ronn) the very same command now properly displays the ronn-format(7) manpage.

Vale,
Quintus

Example:
  $ gem man ronn-format
now gives you the ronn-format(7) manpage and not "no manual entry"
if you don't have a gem named "ronn-format" installed.
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

Successfully merging this pull request may close these issues.

1 participant