commands: Use consistent style when describing subcommands

Closes #12897

Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
This commit is contained in:
Rohan Hasabe 2024-10-13 22:10:38 -04:00 committed by Bjørn Erik Pedersen
parent 4985be1a4a
commit 6b5e117a12
16 changed files with 27 additions and 26 deletions

View file

@ -1,7 +1,7 @@
# Test the config command.
hugo config -h
stdout 'Print the site configuration'
stdout 'Display site configuration'
hugo config

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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\.'