aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorRohan Hasabe <[email protected]>2024-10-13 22:10:38 -0400
committerBjørn Erik Pedersen <[email protected]>2024-10-15 08:51:53 +0200
commit6b5e117a1213eecf1320aad292a0979c67f5179d (patch)
treee7cc77979ec165879f0afbfe728a206e14fc60f8 /testscripts
parent4985be1a4af34dd835e7882605e429cd5ffb1912 (diff)
downloadhugo-6b5e117a1213eecf1320aad292a0979c67f5179d.tar.gz
hugo-6b5e117a1213eecf1320aad292a0979c67f5179d.zip
commands: Use consistent style when describing subcommands
Closes #12897 Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718 Signed-off-by: Rohan Hasabe <[email protected]>
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/commands/config.txt2
-rw-r--r--testscripts/commands/convert.txt2
-rw-r--r--testscripts/commands/deploy.txt2
-rw-r--r--testscripts/commands/gen.txt2
-rw-r--r--testscripts/commands/import_jekyll.txt4
5 files changed, 6 insertions, 6 deletions
diff --git a/testscripts/commands/config.txt b/testscripts/commands/config.txt
index b1dba8d11..46386eb92 100644
--- a/testscripts/commands/config.txt
+++ b/testscripts/commands/config.txt
@@ -1,7 +1,7 @@
# Test the config command.
hugo config -h
-stdout 'Print the site configuration'
+stdout 'Display site configuration'
hugo config
diff --git a/testscripts/commands/convert.txt b/testscripts/commands/convert.txt
index 1cf756215..811aeecc8 100644
--- a/testscripts/commands/convert.txt
+++ b/testscripts/commands/convert.txt
@@ -1,7 +1,7 @@
# Test the convert commands.
hugo convert -h
-stdout 'Convert your content'
+stdout 'Convert front matter to another format'
hugo convert toJSON -h
stdout 'to use JSON for the front matter'
hugo convert toTOML -h
diff --git a/testscripts/commands/deploy.txt b/testscripts/commands/deploy.txt
index 0afe1fc44..2586f8b8f 100644
--- a/testscripts/commands/deploy.txt
+++ b/testscripts/commands/deploy.txt
@@ -1,7 +1,7 @@
# Test the deploy command.
hugo deploy -h
-stdout 'Deploy your site to a Cloud provider\.'
+stdout 'Deploy your site to a cloud provider'
mkdir mybucket
hugo deploy --target mydeployment --invalidateCDN=false
grep 'hello' mybucket/index.html
diff --git a/testscripts/commands/gen.txt b/testscripts/commands/gen.txt
index 16db9fe4a..b8fe9d2dc 100644
--- a/testscripts/commands/gen.txt
+++ b/testscripts/commands/gen.txt
@@ -3,7 +3,7 @@
env NUM_COMMANDS=44
hugo gen -h
-stdout 'A collection of several useful generators\.'
+stdout 'Generate documentation for your project using Hugo''s documentation engine, including syntax highlighting for various programming languages\.'
hugo gen doc --dir clidocs
checkfilecount $NUM_COMMANDS clidocs
diff --git a/testscripts/commands/import_jekyll.txt b/testscripts/commands/import_jekyll.txt
index 8d229ba2e..953349acf 100644
--- a/testscripts/commands/import_jekyll.txt
+++ b/testscripts/commands/import_jekyll.txt
@@ -1,7 +1,7 @@
-# Test the import jekyll command.
+# Test the import + import jekyll command.
hugo import -h
-stdout 'Import your site from other web site generators like Jekyll\.'
+stdout 'Import a site from another system'
hugo import jekyll -h
stdout 'hugo import from Jekyll\.'