Skip to content

Commit 90c1965

Browse files
committed
cmd/cue: mention --inject-vars/-T flag for injection help
Otherwise it's not clear the flag needs to be set to enable injection vars Signed-off-by: Paul Jolly <[email protected]> Change-Id: Iffd8fad2eaec1e990881926242926f87bfe8be7a Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211222 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 58e09ee commit 90c1965

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/cue/cmd/help.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,8 @@ ensures the user may only specify "prod" or "staging".
731731
Tag variables
732732
733733
The injection mechanism allows for the injection of system variables:
734-
when variable injection is enabled, tags of the form
734+
when variable injection is enabled by passing the --inject-vars/-T flag,
735+
tags of the form
735736
736737
@tag(dir,var=cwd)
737738

0 commit comments

Comments
 (0)