aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/actions
diff options
context:
space:
mode:
authorGravatar dslomov <dslomov@google.com>2017-07-03 07:15:31 -0400
committerGravatar John Cater <jcater@google.com>2017-07-05 10:56:31 -0400
commit40ddec31e4e45e69968f1b12af446342cb38f28a (patch)
tree94f1a88e4f31fa4bb302b0af47f431876eec5bfb /src/main/java/com/google/devtools/build/lib/actions
parent71d1bbefcaa34c697db4166b7ba01970c15206a9 (diff)
Migrate tests to ctx.actions.run/run_shell.
RELNOTES: None. PiperOrigin-RevId: 160817326
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
index 39f435cdb6..4474a76cd3 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/AbstractAction.java
@@ -566,10 +566,11 @@ public abstract class AbstractAction implements Action, SkylarkValue {
@SkylarkCallable(
name = "argv",
- doc = "For actions created by <a href=\"ctx.html#action\">ctx.action()</a>, an immutable "
- + "list of the arguments for the command line to be executed. Note that when using the "
- + "shell (i.e., when <a href=\"ctx.html#action.executable\">executable</a> is not set), "
- + "the first two arguments will be the shell path and <code>\"-c\"</code>.",
+ doc = "For actions created by <a href=\"actions.html#run\">ctx.actions.run()</a> "
+ + "or <a href=\"actions.html#run_shell\">ctx.actions.run_shell()</a> an immutable "
+ + "list of the arguments for the command line to be executed. Note that "
+ + "for shell actions the first two arguments will be the shell path "
+ + "and <code>\"-c\"</code>.",
structField = true,
allowReturnNones = true)
public SkylarkList<String> getSkylarkArgv() {