From d9fdcbe9390cbfdd861347c76f648bd3bfe5abf3 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 29 Jul 2023 11:30:52 -0700 Subject: [PATCH] commands: Update cacheDir description --- commands/commandeer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/commandeer.go b/commands/commandeer.go index ef504bcbcac..b4f250a32aa 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"})