tldr's own entry has a broken example.

Created on 25 Jun 2019  ·  6Comments  ·  Source: tldr-pages/tldr

TLDR's own entry has one problematic example:

tldr -p linux tar

  • The -p flag should be replaced with the -o flag
  • There is no linux entry for tar.

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
clients

Most helpful comment

@waldyrious Hi, I have made a 0.5 release of tldr-python-client.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GabLeRoux picture GabLeRoux  ·  3Comments

zlatanvasovic picture zlatanvasovic  ·  3Comments

zlatanvasovic picture zlatanvasovic  ·  3Comments

schneiderl picture schneiderl  ·  3Comments

TobiasRoland picture TobiasRoland  ·  3Comments