mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 08:34:18 +02:00
Align help text and completion descriptions
This commit is contained in:
parent
cab6666ffb
commit
cc22760e5a
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ complete -c tldr -s l -l list -d 'List all commands in the cache.' -f
|
|||
complete -c tldr -s f -l render -d 'Render a specific markdown file.' -r
|
||||
complete -c tldr -s p -l platform -d 'Override the operating system.' -xa 'linux macos sunos windows'
|
||||
complete -c tldr -s u -l update -d 'Update the local cache.' -f
|
||||
complete -c tldr -l no-auto-update -d 'Disable auto-update, override config file' -f
|
||||
complete -c tldr -l no-auto-update -d 'If auto update is configured, disable it for this run.' -f
|
||||
complete -c tldr -s c -l clear-cache -d 'Clear the local cache.' -f
|
||||
complete -c tldr -l pager -d 'Use a pager to page output.' -f
|
||||
complete -c tldr -s r -l raw -d 'Display the raw markdown instead of rendering it.' -f
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ _tealdeer() {
|
|||
))'
|
||||
"($I -L --language)"{-L,--language}"[Override the language settings]:lang"
|
||||
"($I -u --update)"{-u,--update}"[Update the local cache]"
|
||||
"($I)--no-auto-update[Disable auto-update, override config file]"
|
||||
"($I)--no-auto-update[If auto update is configured, disable it for this run]"
|
||||
"($I -c --clear-cache)"{-c,--clear-cache}"[Clear the local cache]"
|
||||
"($I)--pager[Use a pager to page output]"
|
||||
"($I -r --raw)"{-r,--raw}"[Display the raw markdown instead of rendering it]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue