diff options
author | Laurent Le Brun <laurentlb@google.com> | 2015-05-13 13:54:38 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-05-15 09:43:38 +0000 |
commit | 7af69a839580ca625e30e940f1a09add0c6c1b62 (patch) | |
tree | b1280e682bd4e18511e2f5fcd2ca68b473bc9f0d /src/main | |
parent | 6874316e27af4074ad98b361e050b1aa13b5611b (diff) |
Skylark doc for action.mnemonic
--
MOS_MIGRATED_REVID=93517552
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java index 03e2bce974..be248b13a6 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java @@ -66,7 +66,7 @@ public class SkylarkRuleImplementationFunctions { * outputs = [output1, output2, ...], * executable = executable, * arguments = [argument1, argument2, ...], - * mnemonic = 'mnemonic', + * mnemonic = 'Mnemonic', * command = 'command', * ) */ @@ -88,7 +88,8 @@ public class SkylarkRuleImplementationFunctions { @Param(name = "arguments", type = SkylarkList.class, generic1 = String.class, defaultValue = "[]", doc = "command line arguments of the action"), @Param(name = "mnemonic", type = String.class, noneable = true, - defaultValue = "None", doc = "mnemonic"), + defaultValue = "None", + doc = "a one-word description of the action, e.g. CppCompile or GoLink"), @Param(name = "command", type = Object.class, // string or ListOf(string) or NoneType defaultValue = "None", doc = "shell command to execute"), @Param(name = "progress_message", type = String.class, noneable = true, |