Update CLI docs to clarify that --version only applies to the root command (#1326)

This commit is contained in:
Jen Basch
2025-11-18 21:08:03 -08:00
committed by GitHub
parent ba281e8475
commit 67f1ff5ab8
2 changed files with 11 additions and 6 deletions

View File

@@ -788,6 +788,17 @@ The <<command-eval>>, <<command-test>>, <<command-repl>>, <<command-download-pac
include::../../pkl-cli/partials/cli-project-options.adoc[]
[[root-options]]
=== Root options
The root `pkl` command supports the following options:
.-v, --version
[%collapsible]
====
Display version information.
====
== Evaluating Modules
Say we have the following module: