Skip to content

Commit 3c6d09a

Browse files
authored
Update omit-empty command in Readme (#107)
1 parent 6a47bd5 commit 3c6d09a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ in deployment
9191
We then run this through `dhall-to-yaml` to generate our Kubernetes definition:
9292

9393
```bash
94-
dhall-to-yaml --omitEmpty < examples/deploymentSimple.dhall
94+
dhall-to-yaml --omit-empty < examples/deploymentSimple.dhall
9595
```
9696

9797
And we get:
@@ -139,7 +139,7 @@ Things to note in the following example:
139139
them over the list of services.
140140
- we also defined the list of `services` inline, but you should instead return the
141141
`mkIngress` function instead of applying it, so you can do something like
142-
`dhall-to-yaml --omitEmpty <<< "./mkIngress.dhall ./myServices.dhall"`
142+
`dhall-to-yaml --omit-empty <<< "./mkIngress.dhall ./myServices.dhall"`
143143

144144
```dhall
145145
-- examples/ingress.dhall
@@ -226,7 +226,7 @@ in mkIngress services
226226
As before we get the yaml out by running:
227227

228228
```bash
229-
dhall-to-yaml --omitEmpty < examples/ingress.dhall
229+
dhall-to-yaml --omit-empty < examples/ingress.dhall
230230
```
231231

232232
Result:
@@ -275,7 +275,7 @@ If the objects have the same type, this is very easy: you return a Dhall list co
275275
objects, and use the `--documents` flag, e.g.:
276276

277277
```bash
278-
dhall-to-yaml --documents --omitEmpty <<< "let a = ./examples/deploymentSimple.dhall in [a, a]"
278+
dhall-to-yaml --documents --omit-empty <<< "let a = ./examples/deploymentSimple.dhall in [a, a]"
279279
```
280280

281281
If the objects are of different type, it's not possible to have separate documents in the same YAML file.

0 commit comments

Comments
 (0)