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

Allow searching for multi-word commands #47

Closed
wants to merge 1 commit into from
Closed

Allow searching for multi-word commands #47

wants to merge 1 commit into from

Conversation

mcm69
Copy link

@mcm69 mcm69 commented Dec 30, 2015

e.g. tldr git commit

@berkus
Copy link

berkus commented Dec 30, 2015

Linked tldr-pages/tldr-c-client#5

@waldyrious
Copy link
Member

+:100: this would be very convenient indeed!

@Leandros
Copy link

All integrated. Update published via homebrew.

@rprieto
Copy link
Contributor

rprieto commented Dec 31, 2015

I like the idea. It's a tricky one though, given that some complex commands have a page per sub-command (git-log, git-push) but some have a single page with everything (docker). Maybe joining is better than not doing anything though :)

@amitzur
Copy link

amitzur commented Dec 31, 2015

👎 man doesn't support it, and I think the commit is specific to git. Isn't it the case that not all multi word commands should be joined with a dash?

@mcm69
Copy link
Author

mcm69 commented Dec 31, 2015

@amitzur well, this is not man anyway. Also, as we do have pages for git commit and many more multi-word commands (which are saved in the format of git-commit.md), it did not make much sense searching for them as tldr git-commit. There's no such command as git-commit after all.

@igorshubovych
Copy link
Collaborator

Thank you for contribution. It gave me an idea on to do it.
There is more sophisticated checks done in #80.

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.

7 participants