aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
index 375d59bf3c..6be2cf5c81 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
@@ -36,7 +36,8 @@ public class LocalRepositoryRule implements RuleDefinition {
/* <!-- #BLAZE_RULE(local_repository).ATTRIBUTE(path) -->
The path to the local repository's directory.
- <p>This must be an absolute path to the directory containing the repository's
+ <p>This must be a path to the directory containing the repository's
+ <i>WORKSPACE</i> file. The path can be either absolute or relative to the main repository's
<i>WORKSPACE</i> file.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("path", STRING).mandatory())