Automatic updates only happen during page lookups, it does not care about the other flags such as --search, --info, etc.
# when invoking --info with auto update disabled
➜ ~ : bin/tldr -i
Cache: /home/therootdaemon/.cache/tlgc (last update: 27d, 22h ago)
Auto update: disabled
Mirror: https://github.com/tldr-pages/tldr/releases/latest/download
Installed languages:
total : 7384 pages
en : 7384 pages (android: 22, cisco-ios: 17, common: 4595, dos: 26, freebsd: 16, linux: 2010, netbsd: 8, openbsd: 10, osx: 368, sunos: 11, windows: 301)
➜ ~ : cat ~/.config/tlgc/config.toml
[output]
option_style = "both"
[cache]
auto_update = false
➜ ~ : v ~/.config/tlgc/config.toml
# when invoking --info with auto update enabled
➜ ~ : bin/tldr -i
Cache: /home/therootdaemon/.cache/tlgc (last update: 27d, 22h ago)
Auto update: every 14d (next in 0s)
Mirror: https://github.com/tldr-pages/tldr/releases/latest/download
Installed languages:
total : 7384 pages
en : 7384 pages (android: 22, cisco-ios: 17, common: 4595, dos: 26, freebsd: 16, linux: 2010, netbsd: 8, openbsd: 10, osx: 368, sunos: 11, windows: 301)
➜ ~ : cat ~/.config/tlgc/config.toml
[output]
option_style = "both"
# [cache]
# auto_update = false
Automatic updates only happen during page lookups, it does not care about the other flags such as
--search,--info, etc.