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 passing common as platform #323

Closed
beatbrot opened this issue May 10, 2023 · 1 comment · Fixed by #401
Closed

Allow passing common as platform #323

beatbrot opened this issue May 10, 2023 · 1 comment · Fixed by #401
Milestone

Comments

@beatbrot
Copy link
Contributor

In some cases, it makes sense to explicitly request tldr docs for the common platform.

When running tldr curl on Windows, for example, I only get an explanation that I should pick the common platform if I were interested in the unix tool curl:

grafik

Unfortunately, if I try using the suggested command, I get the following error:

> tldr curl -p common
error: "common" isn't a valid value for '--platform <PLATFORM>'
        [possible values: linux, macos, windows, sunos, osx, android]

For more information try --help

In my opinion, common should be an option here.

@RuiNtD
Copy link

RuiNtD commented Jan 6, 2025

Bump. The option to use common as the platform is also mentioned as a supported option within the tldr page itself and is supported by the official Python and Rust clients, with support in the Node client planned (tldr-pages/tldr-node-client#484).

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

Successfully merging a pull request may close this issue.

3 participants