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

[Feature request] add --platform=all option value #43

Open
huntie opened this issue Jan 24, 2019 · 0 comments
Open

[Feature request] add --platform=all option value #43

huntie opened this issue Jan 24, 2019 · 0 comments

Comments

@huntie
Copy link

huntie commented Jan 24, 2019

Problem

Whatever host development system tldr is installed on, I'd prefer to always have the full range of pages searchable by default regardless of platform. At the moment it is only possible to search entries on another platform by selecting that platform explicitly, since this tool defaults to auto-detection:

tldr --platform=linux ufw

Very often (and until I looked it up), I had forgot to do this and thought the entry was undefined. Furthermore, it is not possible to search through all platforms at once – a user would have to alter the command each time.

Potential solution

I propose that the platform option is updated to read all as a value (or alternatively a comma separated list of existing platforms), which would make the command search through all tldr directories.

With this in place, people could create an alias such as the below and never need to consider platform when using tldr, which would be ideal.

abbr -a tldr 'tldr --platform=all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants