summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMarshall Cottrell <mcottrell@gitlab.com>2022-02-18 14:28:02 -0600
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-23 22:43:19 +0100
commit06bac57ab0b6d83b5855132c92c762153dbde8bb (patch)
tree3145f9f69bc9d866314d3775035c58ea5a670d04 /commands
parentec8b767fa64af8c5b3d6510358699d28359fa7b6 (diff)
Add support for CODEOWNERS
Fixes #9474
Diffstat (limited to 'commands')
-rw-r--r--commands/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/commands.go b/commands/commands.go
index 10b7a6649..399f59af9 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -295,7 +295,7 @@ func (cc *hugoBuilderCommon) handleFlags(cmd *cobra.Command) {
cmd.Flags().StringP("destination", "d", "", "filesystem path to write files to")
cmd.Flags().StringSliceP("theme", "t", []string{}, "themes to use (located in /themes/THEMENAME/)")
cmd.Flags().StringVarP(&cc.baseURL, "baseURL", "b", "", "hostname (and path) to the root, e.g. http://spf13.com/")
- cmd.Flags().Bool("enableGitInfo", false, "add Git revision, date and author info to the pages")
+ cmd.Flags().Bool("enableGitInfo", false, "add Git revision, date, author, and CODEOWNERS info to the pages")
cmd.Flags().BoolVar(&cc.gc, "gc", false, "enable to run some cleanup tasks (remove unused cache files) after the build")
cmd.Flags().StringVar(&cc.poll, "poll", "", "set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes")
cmd.Flags().BoolVar(&loggers.PanicOnWarning, "panicOnWarning", false, "panic on first WARNING log")