aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-07-29 11:30:52 -0700
committerBjørn Erik Pedersen <[email protected]>2023-07-29 22:09:55 +0200
commitd9fdcbe9390cbfdd861347c76f648bd3bfe5abf3 (patch)
tree06ce77612b3a10aa95547d4dc46945a1c00231df /commands
parent295d73388322ae0645e3c00469566d29ef693f59 (diff)
downloadhugo-d9fdcbe9390cbfdd861347c76f648bd3bfe5abf3.tar.gz
hugo-d9fdcbe9390cbfdd861347c76f648bd3bfe5abf3.zip
commands: Update cacheDir description
Diffstat (limited to 'commands')
-rw-r--r--commands/commandeer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index ef504bcbc..b4f250a32 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -515,7 +515,7 @@ Complete documentation is available at https://gohugo.io/.`
func applyLocalFlagsBuildConfig(cmd *cobra.Command, r *rootCommand) {
cmd.Flags().StringSliceP("theme", "t", []string{}, "themes to use (located in /themes/THEMENAME/)")
cmd.Flags().StringVarP(&r.baseURL, "baseURL", "b", "", "hostname (and path) to the root, e.g. https://spf13.com/")
- cmd.Flags().StringP("cacheDir", "", "", "filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache_$USER/")
+ cmd.Flags().StringP("cacheDir", "", "", "filesystem path to cache directory")
_ = cmd.Flags().SetAnnotation("cacheDir", cobra.BashCompSubdirsInDir, []string{})
cmd.Flags().StringP("contentDir", "c", "", "filesystem path to content directory")
_ = cmd.Flags().SetAnnotation("theme", cobra.BashCompSubdirsInDir, []string{"themes"})