mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 18:02:02 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/tldr
22
tldr/tldr
@@ -17,26 +17,26 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`tldr {{command}} {{subcommand}}`
|
||||
|
||||
- Print the tldr page for a command in the given [L]anguage (if available, otherwise fall back to English):
|
||||
- Print the tldr page for a command in the given language (if available, otherwise fall back to English):
|
||||
|
||||
`tldr --language {{language_code}} {{command}}`
|
||||
`tldr {{[-L|--language]}} {{language_code}} {{command}}`
|
||||
|
||||
- Print the tldr page for a command from a specific [p]latform:
|
||||
- Print the tldr page for a command from a specific platform:
|
||||
|
||||
`tldr --platform {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{command}}`
|
||||
`tldr {{[-p|--platform]}} {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{command}}`
|
||||
|
||||
- [u]pdate the local cache of tldr pages:
|
||||
- Update the local cache of tldr pages:
|
||||
|
||||
`tldr --update`
|
||||
`tldr {{[-u|--update]}}`
|
||||
|
||||
- [l]ist all pages for the current platform and `common`:
|
||||
- List all pages for the current platform and `common`:
|
||||
|
||||
`tldr --list`
|
||||
`tldr {{[-l|--list]}}`
|
||||
|
||||
- [l]ist all available subcommand pages for a command:
|
||||
- List all available subcommand pages for a command:
|
||||
|
||||
`tldr --list | grep {{command}} | column`
|
||||
`tldr {{[-l|--list]}} | grep {{command}} | column`
|
||||
|
||||
- Print the tldr page for a random command:
|
||||
|
||||
`tldr --list | shuf -n1 | xargs tldr`
|
||||
`tldr {{[-l|--list]}} | shuf {{[-n|--head-count]}} 1 | xargs tldr`
|
||||
|
||||
Reference in New Issue
Block a user