TLDR's own entry has one problematic example:
tldr -p linux tar
-p flag should be replaced with the -o flagtar. If you run that example, you get this:
~
❯ tldr -p linux tar
usage: tldr [-h] [-u] [-o {linux,osx,sunos}] [-s SOURCE] [-c] command [command ...]
tldr: error: unrecognized arguments: -p
If you then replace -p with -o, you get the following:
~
❯ tldr -o linux tar
`tar` documentation is not available. Consider contributing Pull Request to https://github.com/tldr-pages/tldr
Please, see my comment on #3136.
Which client are you using, @rbuchberger?
The python client, installed via the arch community repo.
Interestingly, tealdeer appears to have this issue as well:
~
❯ tldr --version
tealdeer v1.1.0
~
❯ tldr -p linux figlet
Unknown flag: '-p'
Usage:
tldr [options] <command>
tldr [options]
@rbuchberger this was actually tracked in the Python client's repo, at https://github.com/tldr-pages/tldr-python-client/issues/76. It was fixed recently to -p, in https://github.com/tldr-pages/tldr-python-client/pull/77. That (among other changes) hasn't yet been included in a release — the last release was from last year. @felixonmars, is there anything blocking a new release of the package?
Interestingly, tealdeer appears to have this issue as well
Please open an issue there so @dbrgn or others can address it :)
Perhaps we should open an issue against tldr-pages/tldr-python-client about a new release?
@waldyrious Hi, I have made a 0.5 release of tldr-python-client.
Most helpful comment
@waldyrious Hi, I have made a 0.5 release of tldr-python-client.