From 0538044feeea4dc10a0ab0c29e1c2c7477e95331 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 738ad9ff..e8fba03d 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() } ---- ====