Quiet down `hugo mod get`

With go mod get

With the exception of -h or --help as the one and only argument, all of the global flags will throw an error, regardless of their position on the command line.

Should we do something about this? Probably. Log an issue if you feel strongly about it.


Edit: see https://github.com/gohugoio/hugo/issues/12539.

1 Like