aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/blog
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2017-02-23 13:05:48 +0000
committerGravatar Irina Iancu <elenairina@google.com>2017-02-24 08:28:26 +0000
commit6b3b8d0ba073100bf9858fb65c2cc99dcd4d792e (patch)
treebb762bb513771b2ab973274838fcf0d79d3619ed /site/blog
parenta8fc49b3ce772d98e6038a619cccdba81e76ac6d (diff)
Fix name of --javacopt in the configuration file blog post
-- Change-Id: I95f9c9605d04b2142a2b295618301337fc7b3b79 Reviewed-on: https://cr.bazel.build/9058 PiperOrigin-RevId: 148332784 MOS_MIGRATED_REVID=148332784
Diffstat (limited to 'site/blog')
-rw-r--r--site/blog/_posts/2015-07-01-Configuration-File.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/blog/_posts/2015-07-01-Configuration-File.md b/site/blog/_posts/2015-07-01-Configuration-File.md
index b969141021..93b4fc86c1 100644
--- a/site/blog/_posts/2015-07-01-Configuration-File.md
+++ b/site/blog/_posts/2015-07-01-Configuration-File.md
@@ -8,13 +8,13 @@ that doesn't scale when you share your workspace with others.
For instance, you could de-activate [Error Prone](http://errorprone.info)'s
[DepAnn](http://errorprone.info/bugpattern/DepAnn) checks by adding the
-`--javacopts="-Xep:DepAnn:OFF"` flag in your `~/.bazelrc`. However, `~/.bazelrc`
+`--javacopt="-Xep:DepAnn:OFF"` flag in your `~/.bazelrc`. However, `~/.bazelrc`
is not really convenient as it a user file, not shared with
your team. You could instead add a rc file at `tools/bazel.rc` in your workspace
with the content of the bazelrc file you want to share with your team:
```
-build --javacopts="-Xep:DepAnn:OFF"
+build --javacopt="-Xep:DepAnn:OFF"
```
This file, called a master rc file, is parsed before the user rc file. There is