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

Perform search if command is not found on current OS #247

Closed
amejiarosario opened this issue Feb 1, 2019 · 2 comments
Closed

Perform search if command is not found on current OS #247

amejiarosario opened this issue Feb 1, 2019 · 2 comments

Comments

@amejiarosario
Copy link

Expected behaviour

When looking for a command that is not found. It should perform a --search on it.

Actual behaviour

For instance, I was looking for ss (on OSX)
image

I thought, "Oh this command is missing on docs"...

But then, I saw there's an entry for it in linux and if I use --search:
image

It would be really nice, if it can give this results automatically if not result was found on my current operating system.

Log, debug output

Put any log or error output here.

Environment

  • Operating system: OSX MacOS Mojave v10.14.2
  • NodeJS version: 8.12.0
@agnivade
Copy link
Member

agnivade commented Feb 1, 2019

--search is only meant as a keyword search for pages. I agree that it should report if a page was found for other platforms, but it should not do --search.

@agnivade
Copy link
Member

This is now fixed to automatically search pages for other platforms and display them.

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

Successfully merging a pull request may close this issue.

2 participants