commands: Handle hugo mod get --help

Fixes #11141
This commit is contained in:
Bjørn Erik Pedersen
2023-06-29 08:53:50 +02:00
parent 58e09cc6c7
commit 80ecb95895
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ stdout 'Deleted 2\d{2} files from module cache\.'
cd submod
hugo mod init testsubmod
cmpenv go.mod $WORK/golden/go.mod.testsubmod
hugo mod get -h
stdout 'hugo mod get \[flags\] \[args\]'
hugo mod get --help
stdout 'hugo mod get \[flags\] \[args\]'
-- hugo.toml --
title = "Hugo Modules Test"
[module]