Skip to content

Commit 7de2e66

Browse files
committed
Add missing reference docs for *.javaProperty directives
1 parent 03302bb commit 7de2e66

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

modules/directives/src/main/scala/scala/build/preprocessing/directives/JavaProps.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ import scala.cli.commands.SpecificationLevel
1414
@DirectiveUsage(
1515
"//> using javaProp _key=val_",
1616
"""`//> using javaProp` _key=value_
17-
|
1817
|`//> using javaProp` _key_
18+
|
19+
|`//> using test.javaProp` _key=value_
20+
|`//> using test.javaProp` _key_
1921
|""".stripMargin
2022
)
2123
@DirectiveDescription("Add Java properties")

website/docs/reference/directives.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,11 @@ Add Java options which will be passed when running an application.
195195
Add Java properties
196196

197197
`//> using javaProp` _key=value_
198-
199198
`//> using javaProp` _key_
200199

200+
`//> using test.javaProp` _key=value_
201+
`//> using test.javaProp` _key_
202+
201203

202204
#### Examples
203205
`//> using javaProp foo1=bar foo2`

website/docs/reference/scala-command/directives.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ Add Java options which will be passed when running an application.
9090
Add Java properties
9191

9292
`//> using javaProp` _key=value_
93-
9493
`//> using javaProp` _key_
9594

95+
`//> using test.javaProp` _key=value_
96+
`//> using test.javaProp` _key_
97+
9698

9799
#### Examples
98100
`//> using javaProp foo1=bar foo2`

0 commit comments

Comments
 (0)