tldr-pages / tlrc

A tldr client written in Rust
http://tldr.sh/tlrc/
MIT License
309 stars 11 forks source link

Fix typo in the help message #47

Closed kbdharun closed 11 months ago

kbdharun commented 11 months ago

Changes

Reference image

image

Reference output

➜  debug git:(feat/bsd) ./tldr
tlrc v1.6.0 (implementing the tldr client specification v2.0) - debug build (2323da0)
A tldr client written in Rust

Usage: tldr [OPTIONS] <PAGE>...

Arguments:
  <PAGE>...  The tldr page to show

Options:
  -u, --update               Update the cache
  -l, --list                 List all pages in the current platform
  -a, --list-all             List all pages
  -i, --info                 Show cache information (installed languages and the number of pages)
  -r, --render <FILE>        Render the specified markdown file
      --clean-cache          Clean the cache
      --gen-config           Print the default config
      --config-path          Print the default config path and create the config directory
  -p, --platform <PLATFORM>  Specify the platform to use [default: linux] [possible values: linux, osx, openbsd, freebsd, netbsd, windows, android, sunos, common]
  -L, --language <LANGUAGE>  Specify the languages to use
  -o, --offline              Do not update the cache, even if it is stale
  -c, --compact              Strip empty lines from output
      --no-compact           Do not strip empty lines from output (overrides --compact)
  -R, --raw                  Print pages in raw markdown instead of rendering them
      --no-raw               Render pages instead of printing raw file contents (overrides --raw)
  -q, --quiet                Suppress status messages
      --color <WHEN>         Specify when to enable color [default: auto] [possible values: auto, always, never]
      --config <FILE>        Specify an alternative path to the config file
  -v, --version              Print version
  -h, --help                 Print help

See 'man tldr' or https://tldr.sh/tlrc for more information.
acuteenvy commented 11 months ago

I'm sorry, I've just finished removing the Platform enum and implementing platform detection from the cache directory (as suggested in https://github.com/tldr-pages/tldr/pull/11313#issuecomment-1783834387). I had the changes locally and I didn't push it.

I hope this didn't take too long

kbdharun commented 11 months ago

I'm sorry, I've just finished removing the Platform enum and implementing platform detection from the cache directory (as suggested in tldr-pages/tldr#11313 (comment)). I had the changes locally and I didn't push it.

I hope this didn't take too long

No issues, feel free to close this PR.