]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
commands: Update cacheDir description
authorJoe Mooring <joe.mooring@veriphor.com>
Sat, 29 Jul 2023 18:30:52 +0000 (11:30 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 29 Jul 2023 20:09:55 +0000 (22:09 +0200)
commands/commandeer.go

index ef504bcbcaceac6ea0b5f59ff5c0722c1cc8908f..b4f250a32aa24b7153665fc735e1e2ca569b3e10 100644 (file)
@@ -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"})