Skip to content

Commit

Permalink
doc: fix various typos
Browse files Browse the repository at this point in the history
Add missing "^EOF$" in cue help import, and the cmd/cue reference.

Also, correct the output for a step in the Kubernetes tutorial. The
ultimate fix to prevent such stale output will land as part of #824.

Closes #868
cuelang/cue#868

GitOrigin-RevId: 743aae40feb5877449003770443e2a1b63cfe6ea
Change-Id: I98df683b2a329bc4bb75607817417066f5949bd4
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9281
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
  • Loading branch information
noelmcloughlin authored and myitcv committed Apr 2, 2021
1 parent 20a4878 commit aa99414
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/cue/cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Examples:
kind: Deployment
name: booster
replicas: 1
EOF
# base the path values on the input
$ cue import -f -l 'strings.ToLower(kind)' -l name foo.yaml
Expand Down
1 change: 1 addition & 0 deletions doc/cmd/cue.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ Examples:
kind: Deployment
name: booster
replicas: 1
EOF
# base the path values on th input
$ cue import -f -p "x -> strings.ToLower(x.kind) x.name" foo.yaml
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ which they should belong.

```
$ cue import ./... -p kube
list, flag, or files flag needed to handle multiple objects in file "./frontend/bartender/kube.yaml"
path, list, or files flag needed to handle multiple objects in file "./frontend/bartender/kube.yaml"
```

Many of the files contain more than one Kubernetes object.
Expand Down

0 comments on commit aa99414

Please sign in to comment.