aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-22 19:00:07 +0200
committerBjørn Erik Pedersen <[email protected]>2023-05-22 20:26:02 +0200
commit85b13c105a202baf80796a5eab144d3f74a4cc42 (patch)
treefafb1ef74dc7b1e03979bb180843c5fa2b3abf1c /testscripts
parentb6e6438f7f742cada5126aa59e856f8531dc6420 (diff)
downloadhugo-85b13c105a202baf80796a5eab144d3f74a4cc42.tar.gz
hugo-85b13c105a202baf80796a5eab144d3f74a4cc42.zip
Add --format to hugo config
Now default to TOML.
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/commands/config.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/testscripts/commands/config.txt b/testscripts/commands/config.txt
index 7f8fc4974..b1dba8d11 100644
--- a/testscripts/commands/config.txt
+++ b/testscripts/commands/config.txt
@@ -5,6 +5,8 @@ stdout 'Print the site configuration'
hugo config
+stdout 'baseurl = .https://example.com/'
+hugo config --format json
stdout '\"baseurl\": \"https://example.com/\",'
hugo config mounts -h