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

BSDs are supported, but cannot be passed to the --platform option #235

Closed
acuteenvy opened this issue Feb 26, 2024 · 1 comment · Fixed by #246
Closed

BSDs are supported, but cannot be passed to the --platform option #235

acuteenvy opened this issue Feb 26, 2024 · 1 comment · Fixed by #246
Labels

Comments

@acuteenvy
Copy link
Member

The client supports displaying BSD pages without specifying --platform (e.g. tldr pkgin), but displays an error when the option is used (e.g. tldr --platform netbsd pkgin):

$ tldr pkgin
no errors, the page is rendered as it should

$ tldr --platform netbsd pkgin
usage: tldr command [options]
tldr: error: argument -p/--platform: invalid choice: 'netbsd' (choose from 'linux', 'osx', 'sunos', 'windows', 'common')
@owenvoke
Copy link
Member

This was probably implemented before netbsd was added to tldr pages. 🤔 I think it should be fine to add netbsd as an option. 👍🏻

I've created support for this here: #236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
3 participants