From ff22c62a32628fcf51f82de2f72a749e1cdf4fc3 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 27 Apr 2026 09:10:41 -0700 Subject: [PATCH] commands: Improve description of command flags Closes #14817 --- commands/commandeer.go | 2 +- commands/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/commandeer.go b/commands/commandeer.go index 6b222fe9b..6a9ffc6fd 100644 --- a/commands/commandeer.go +++ b/commands/commandeer.go @@ -613,7 +613,7 @@ func applyLocalFlagsBuild(cmd *cobra.Command, r *rootCommand) { cmd.Flags().BoolP("buildDrafts", "D", false, "include content marked as draft") cmd.Flags().BoolP("buildFuture", "F", false, "include content with publishdate in the future") cmd.Flags().BoolP("buildExpired", "E", false, "include expired content") - cmd.Flags().BoolP("ignoreCache", "", false, "ignores the cache directory") + cmd.Flags().BoolP("ignoreCache", "", false, "ignore the configured file caches") cmd.Flags().Bool("enableGitInfo", false, "add Git revision, date, author, and CODEOWNERS info to the pages") cmd.Flags().StringP("layoutDir", "l", "", "filesystem path to layout directory") _ = cmd.MarkFlagDirname("layoutDir") diff --git a/commands/server.go b/commands/server.go index eb023d698..045c3754e 100644 --- a/commands/server.go +++ b/commands/server.go @@ -549,7 +549,7 @@ of a second, you will be able to save and see your changes nearly instantly.` cmd.Flags().BoolVar(&c.tlsAuto, "tlsAuto", false, "generate and use locally-trusted certificates.") cmd.Flags().BoolVar(&c.pprof, "pprof", false, "enable the pprof server (port 8080)") cmd.Flags().BoolVarP(&c.serverWatch, "watch", "w", true, "watch filesystem for changes and recreate as needed") - cmd.Flags().BoolVar(&c.noHTTPCache, "noHTTPCache", false, "prevent HTTP caching") + cmd.Flags().BoolVar(&c.noHTTPCache, "noHTTPCache", false, "disable browser caching of pages served by the embedded web server") cmd.Flags().BoolVarP(&c.serverAppend, "appendPort", "", true, "append port to baseURL") cmd.Flags().BoolVar(&c.disableLiveReload, "disableLiveReload", false, "watch without enabling live browser reload on rebuild") cmd.Flags().BoolVarP(&c.navigateToChanged, "navigateToChanged", "N", false, "navigate to changed content file on live browser reload")