Skip to content

Commit

Permalink
cmd/cue/cmd: remove stale reference to ::
Browse files Browse the repository at this point in the history
The code still accepts '::' for backwards compatibility,
but at least it should no longer be a documented feature.

Fixes #1386

Signed-off-by: Marcel van Lohuizen <[email protected]>

Change-Id: Ice06d4c1b4414dfa96eac118c8842b0965f67163
Signed-off-by: Marcel van Lohuizen <[email protected]>
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/529581
Unity-Result: CUEcueckoo <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Marcel van Lohuizen <[email protected]>
  • Loading branch information
mpvl committed Jan 18, 2022
1 parent 50d69c9 commit f29b460
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/cue/cmd/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,9 @@ The --path/-l flag can be used to specify a CUE path at which to
place a value. Each -l flag specifies either a CUE expression or
a CUE field (without the value following the colon), both of
which are evaluated within the value. Together, the -l flags
specify the path at increasingly deeper nesting. In the path
notation, path elements that end with a "::", instead of ":",
are created as definitions. An expression may refer to builtin
packages as long as the name can be uniquely identified.
specify the path at increasingly deeper nesting. An expression
may refer to builtin packages as long as the name can be uniquely
identified.
The --with-context flag can be used to evaluate the label
expression within a struct of contextual data, instead of
Expand Down

0 comments on commit f29b460

Please sign in to comment.