Skip to content

Commit

Permalink
Merge pull request #33 from rethab/patch-1
Browse files Browse the repository at this point in the history
auto update is only available in new version
  • Loading branch information
psibi authored Nov 19, 2020
2 parents b7e83ed + de1a9d1 commit bd45987
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ regularly update the cache. Such an update can be run manually with:
$ tldr --update
```

Users of this client can enable automatic updates by running it with
the option `--auto-update-interval DAYS` specified. The client will
then check whether the cached version of the tldr pages is older than
`DAYS` days and perform an update in that case. To enable this
functionality permanently, users can put the line `alias tldr="tldr
--auto-update-interval DAYS"` in their shell configuration file
(e.g. `.bashrc`, `.zshrc`) with the desired update interval specified.
Starting with version `0.9.0`, users of this client can enable automatic
updates by running it with the option `--auto-update-interval DAYS`
specified. The client will then check whether the cached version of the
tldr pages is older than `DAYS` days and perform an update in that case.
To enable this functionality permanently, users can put the line
`alias tldr="tldr --auto-update-interval DAYS"` in their shell
configuration file (e.g. `.bashrc`, `.zshrc`) with the desired update
interval specified.

## Snapshot

Expand Down

0 comments on commit bd45987

Please sign in to comment.