From a2607dcc6efbc61b2df0719bef73690130f6e4ff Mon Sep 17 00:00:00 2001 From: Lily Ballard Date: Wed, 7 Feb 2024 11:53:04 -0800 Subject: [PATCH] Fix CLI docs examples for `-x` The examples were using the wrong key. --- docs/modules/pkl-cli/pages/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/pkl-cli/pages/index.adoc b/docs/modules/pkl-cli/pages/index.adoc index 2a9dbf6d..cd1ac7e8 100644 --- a/docs/modules/pkl-cli/pages/index.adoc +++ b/docs/modules/pkl-cli/pages/index.adoc @@ -342,7 +342,7 @@ The following command prints `Pigeon` to the console: [source,shell] ---- -pkl eval -x metadata.name pigeon.pkl +pkl eval -x metadata.species pigeon.pkl # => Pigeon ---- @@ -356,7 +356,7 @@ metadata { } output { - text = metadata.name.toString() + text = metadata.species.toString() } ---- ====