Hugo --verbose: `Error: command error: unknown flag: --verbose`

Hi all,
I am running this version of Hugo on wsl:
hugo v0.145.0-666444f0a52132f9fec9f71cf25b441cc6a4f355+extended linux/amd64 BuildDate=2025-02-26T15:41:25Z VendorInfo=gohugoio

Surprisingly, there are many commands such as this very useful one: hugo --verbose, that return the error message: unknown flag.

Does anyone know why and what can I do about it?

Thanks a lot
Steph

The --verbose flag was deprecated quite a while ago. Use --logLevel debug|info|warn|error instead.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.