mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
Update CLI docs to clarify that --version only applies to the root command (#1326)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -109,12 +109,6 @@ Duration, in seconds, after which evaluation of a source module will be timed ou
|
||||
Note that a timeout is treated the same as a program error in that any subsequent source modules will not be evaluated.
|
||||
====
|
||||
|
||||
.-v, --version
|
||||
[%collapsible]
|
||||
====
|
||||
Display version information.
|
||||
====
|
||||
|
||||
.-w, --working-dir
|
||||
[%collapsible]
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user