tldr-pages / tldr-c-client

C command-line client for tldr pages
MIT License
299 stars 49 forks source link

Upon not receiving any input for the tldr command, it should invoke itself #8

Closed Parth closed 8 years ago

Parth commented 8 years ago

if the user types in just tldr only to have no output generated. We could output something like this:

Usage: tldr [OPTIONS] COMMAND [ARGS]...

  A python client for tldr: simplified and community-driven
  man pages.

Options:
  -V, --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  find    Find the command usage.
  init    Init config file.
  update  Update to the latest pages.

This is what the python client does, or we could simply invoke tldr tldr

Parth commented 8 years ago

(would be happy to contribute a PR, if this seems useful to you guys)

Leandros commented 8 years ago

I don't like to invoke tldr tldr, but yes, it's missing a help message and should definitely show one. Would love to see your pull request.

Parth commented 8 years ago

Pull request: #9

Leandros commented 8 years ago

Closed in #9.