aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar dmarting <dmarting@google.com>2017-06-27 09:50:10 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-27 10:07:39 +0200
commit6e24aadb09f1efedf90957fb35ece8fdc65e9f84 (patch)
tree3bc6648662bd8d7dd87128ce47cd43beaa57a16e /src
parentb57311f2bbf2c5802ff1e63a919d94d35d43de3e (diff)
Fix the name of a flag in an error message
The name of the flag was camelCased whereas the correct name is underscore separated. PiperOrigin-RevId: 160245462
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/LoadStatement.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/LoadStatement.java b/src/main/java/com/google/devtools/build/lib/syntax/LoadStatement.java
index da3430a4d9..a7fc147319 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/LoadStatement.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/LoadStatement.java
@@ -66,7 +66,8 @@ public final class LoadStatement extends Statement {
throw new EvalException(
getLocation(),
"First argument of 'load' must be a label and start with either '//' or ':'. "
- + "Use --incompatibleLoadArgumentIsLabel=false to temporarily disable this check.");
+ + "Use --incompatible_load_argument_is_label=false to temporarily disable this "
+ + "check.");
}
}