summaryrefslogtreecommitdiffstats
path: root/testscripts/commands/mod.txt
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-29 08:53:50 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-29 08:53:50 +0200
commit80ecb958951783eb03e23a81800102d0e33db6e1 (patch)
tree5eb22e94b0f0a8f75e863e8cf07d9c7bb2c3074e /testscripts/commands/mod.txt
parent58e09cc6c728cc0ccec69781fcff92479efe3ead (diff)
commands: Handle hugo mod get --help
Fixes #11141
Diffstat (limited to 'testscripts/commands/mod.txt')
-rw-r--r--testscripts/commands/mod.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/testscripts/commands/mod.txt b/testscripts/commands/mod.txt
index a2ea0ad24..56cea2c00 100644
--- a/testscripts/commands/mod.txt
+++ b/testscripts/commands/mod.txt
@@ -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]