Fix CLI docs examples for -x

The examples were using the wrong key.
This commit is contained in:
Lily Ballard
2024-02-07 11:53:04 -08:00
committed by Dan Chao
parent c20119b1f6
commit a2607dcc6e

View File

@@ -342,7 +342,7 @@ The following command prints `Pigeon` to the console:
[source,shell] [source,shell]
---- ----
pkl eval -x metadata.name pigeon.pkl pkl eval -x metadata.species pigeon.pkl
# => Pigeon # => Pigeon
---- ----
@@ -356,7 +356,7 @@ metadata {
} }
output { output {
text = metadata.name.toString() text = metadata.species.toString()
} }
---- ----
==== ====