Skip to content

Commit

Permalink
cmd/cue: fix typos in cue-help-filetypes
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com>
Change-Id: I627dec988d55f21e38650b408a70fc091e24a0f0
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1208122
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
  • Loading branch information
jpluscplusm authored and mvdan committed Jan 31, 2025
1 parent 5991735 commit 0a43336
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/cue/cmd/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ $ cue eval --with-context -l 'path.Base(filename)' -l data.kind foo.yaml
var filetypeHelp = &cobra.Command{
Use: "filetypes",
Short: "supported file types and qualifiers",
Long: `The cue tools supports the following file types:
Long: `The cue tool supports the following file types:
Tag Extensions Description
cue .cue CUE source files.
Expand All @@ -573,7 +573,7 @@ interpreted as data. CUE and Go are interpreted as schema by
default, but may be selected to operate in data mode.
The cue tool will infer a file's type from its extension by
default. The user my override this behavior by using qualifiers.
default. The user may override this behavior by using qualifiers.
A qualifier takes the form
<tag>{'+'<tag>}':'
Expand Down
2 changes: 1 addition & 1 deletion cmd/cue/cmd/testdata/script/help.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stdout -count=1 '^Publish the current module to an OCI registry\.'
# Requesting additional help topics; the form without "help" is phased out.

exec cue help filetypes
stdout -count=1 '^The cue tools supports the following file types:$'
stdout -count=1 '^The cue tool supports the following file types:$'

! exec cue filetypes
! stdout .
Expand Down

0 comments on commit 0a43336

Please sign in to comment.