diff --git a/README.md b/README.md index 9c4a07ee..7ba9ca43 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ yq is written in go - so you can download a dependency free binary for your plat Read a value: ```bash -# use '-' as the filename to read from STDIN +yq e '.a.b[0].c' file.yaml +# alternatively, use '-' as the filename to read from STDIN cat file.yaml | yq e '.a.b[0].c' - ```