Skip to content

Commit c78ecbb

Browse files
committed
docs(readme): use option --to in examples
Replace `--of`.
1 parent 5b65240 commit c78ecbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ $ echo '[{"a":"b"},{"c":[1,2,3]}]' \
239239
$ remarshal test.toml --to json
240240
{"main":[{"a":"b"},{"c":[1,2,3]}]}
241241
242-
$ remarshal test.toml --of json --unwrap main
242+
$ remarshal test.toml --to json --unwrap main
243243
[{"a":"b"},{"c":[1,2,3]}]
244244
```
245245

@@ -254,7 +254,7 @@ You will need to install Bash completions manually.
254254
### TOML to YAML
255255

256256
```
257-
$ remarshal example.toml --of yaml
257+
$ remarshal example.toml --to yaml
258258
title: TOML Example
259259
owner:
260260
name: Tom Preston-Werner

0 commit comments

Comments
 (0)