mirror of
https://github.com/apple/pkl.git
synced 2026-04-19 15:01:26 +02: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[]
|
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
|
== Evaluating Modules
|
||||||
|
|
||||||
Say we have the following module:
|
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.
|
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
|
.-w, --working-dir
|
||||||
[%collapsible]
|
[%collapsible]
|
||||||
====
|
====
|
||||||
|
|||||||
Reference in New Issue
Block a user