diff --git a/examples/src/java/org/pantsbuild/example/from_maven.md b/examples/src/java/org/pantsbuild/example/from_maven.md index e75a03684ed..76d4665f815 100644 --- a/examples/src/java/org/pantsbuild/example/from_maven.md +++ b/examples/src/java/org/pantsbuild/example/from_maven.md @@ -53,11 +53,10 @@ Pants Equivalents `run` `-Xdebug` run a binary in the debugger
-`run.jvm --debug` +`run.jvm --jvm-debug` `-Dtest=com.foo.BarSpec -Dmaven.surefire.debug=true test` run one test in the debugger
-`test.junit --debug --test=com.foo.BarSpec` or -`test.specs --debug --test=com.foo.BarSpec` +`test.junit --jvm-debug --test=com.foo.BarSpec` Depending on Source, not Jars ----------------------------- diff --git a/examples/src/scala/org/pantsbuild/example/JvmRunExample.scala b/examples/src/scala/org/pantsbuild/example/JvmRunExample.scala index ef85304a0ce..636607bf964 100644 --- a/examples/src/scala/org/pantsbuild/example/JvmRunExample.scala +++ b/examples/src/scala/org/pantsbuild/example/JvmRunExample.scala @@ -4,7 +4,7 @@ package org.pantsbuild.example // A simple jvm binary to test the jvm_run task on. Try, e.g., -// ./pants -ldebug run --run-jvm-jvm-options='-Dfoo=bar' --run-jvm-args="Foo Bar" \\ +// ./pants -ldebug run --jvm-run-jvm-options='-Dfoo=bar' --jvm-run-jvm-program-args="Foo Bar" \\ // examples/src/scala/org/pantsbuild/example:jvm-run-example diff --git a/src/docs/first_tutorial.md b/src/docs/first_tutorial.md index a148f1dee54..885ca1a5827 100644 --- a/src/docs/first_tutorial.md +++ b/src/docs/first_tutorial.md @@ -171,32 +171,36 @@ command-line options for that goal. E.g., :::bash $ ./pants test -h - test: Test compiled code. - - test.specs - -h, --help show this help message and exit - --jvm-options