Skip to content

Commit 870bfc2

Browse files
jpluscplusmmvdan
authored andcommitted
cmd/cue: stop help text implying support for globs
This updates the help text for `cue vet` in order to stop implying that the command has first class support for globs. Globs aren't available in environments without a shell, such as the cmd/cue container image, and aren't required to demonstrate cue-vet's "check multiple non-CUE files" mode accurately. Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: Ie088e3b5dac70fb89f3acd523e2160316fe86e96 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1207936 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
1 parent 8dc16dd commit 870bfc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cue/cmd/vet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Examples:
5757
cue vet foo.cue foo.yaml
5858
5959
# Check files against a particular expression
60-
cue vet foo.cue translations/*.yaml -d '#Translation'
60+
cue vet foo.cue lang/en.yaml lang/de.yaml -d '#Translation'
6161
6262
More than one expression may be given using multiple -d flags. Each non-CUE
6363
file must match all expression values.

0 commit comments

Comments
 (0)