Skip to content

Commit 66c0238

Browse files
authored
Update README.md: add description for --clear-cache option
1 parent 07856c6 commit 66c0238

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ options:
5656
--search "KEYWORDS" Search for a specific command from a query
5757
-u, --update, --update_cache
5858
Update the local cache of pages and exit
59+
-k, --clear-cache
60+
Delete the local cache of pages and exit
5961
-p PLATFORM, --platform PLATFORM
6062
Override the operating system [linux, osx, sunos, windows, common]
6163
-l, --list List all available commands for operating system
@@ -103,7 +105,10 @@ In order of precedence:
103105
- `$HOME/.cache/tldr`
104106
- `~/.cache/tldr`
105107

106-
If you are experiencing issues with *tldr*, consider deleting the cache files before trying other measures.
108+
If you are experiencing issues with *tldr*, consider deleting the cache files before trying other measures:
109+
```
110+
tldr --clear-cache
111+
```
107112

108113
#### Autocomplete
109114

0 commit comments

Comments
 (0)