summaryrefslogtreecommitdiffstats
path: root/docs/content/en/commands/hugo_mod_vendor.md
diff options
context:
space:
mode:
authorErica Mays <erica@emays.dev>2023-06-10 13:25:07 -0400
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-12 21:33:35 +0200
commit258884f44fc3ea6e4954936ddeb24e739eb8f58a (patch)
tree3f96e643dd97f0ebe275f49daa780dae7954d20a /docs/content/en/commands/hugo_mod_vendor.md
parent254c2b323cbc74b0decb29e5f7331f4b03914a9e (diff)
cache: Set default cache path based on $USER
Change the default cache directory to `$TMPDIR/hugo_cache_$USER`, so that multi-user systems do not have caches that interfere with each other. The other cache-choosing logic (e.g. Netlify exceptions, configuration options) are not affected. Fixes #7391
Diffstat (limited to 'docs/content/en/commands/hugo_mod_vendor.md')
-rw-r--r--docs/content/en/commands/hugo_mod_vendor.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/commands/hugo_mod_vendor.md b/docs/content/en/commands/hugo_mod_vendor.md
index 42d19b36e..d6e8ca0a1 100644
--- a/docs/content/en/commands/hugo_mod_vendor.md
+++ b/docs/content/en/commands/hugo_mod_vendor.md
@@ -21,7 +21,7 @@ hugo mod vendor [flags] [args]
```
-b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/
- --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
+ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/
-c, --contentDir string filesystem path to content directory
-h, --help help for vendor
-t, --theme strings themes to use (located in /themes/THEMENAME/)