aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--site/blog/_posts/2016-06-10-ide-support.md4
-rw-r--r--site/docs/skylark/aspects.md6
2 files changed, 5 insertions, 5 deletions
diff --git a/site/blog/_posts/2016-06-10-ide-support.md b/site/blog/_posts/2016-06-10-ide-support.md
index b652a3557e..dbe8e729b4 100644
--- a/site/blog/_posts/2016-06-10-ide-support.md
+++ b/site/blog/_posts/2016-06-10-ide-support.md
@@ -64,7 +64,7 @@ in certain packages, etc). E4b plugin then invokes bazel as follows:
```
bazel build //java/com/company/example:main \
---aspect e4b_aspect.bzl%e4b_aspect \
+--aspects e4b_aspect.bzl%e4b_aspect \
--output_groups ide-info
```
@@ -72,7 +72,7 @@ bazel build //java/com/company/example:main \
[e4b source](https://github.com/bazelbuild/e4b/blob/master/com.google.devtools.bazel.e4b/src/com/google/devtools/bazel/e4b/command/BazelCommand.java) for complete
invocation)
-The "--aspect" flag directs Bazel to apply e4b_aspect, exported from
+The "--aspects" flag directs Bazel to apply e4b_aspect, exported from
e4bazel.bzl Skylark extension, to target //java/com/company/example:main.
The aspect is then applied transitively to the dependencies of the specified
diff --git a/site/docs/skylark/aspects.md b/site/docs/skylark/aspects.md
index faa38f6ee7..29de0eb17c 100644
--- a/site/docs/skylark/aspects.md
+++ b/site/docs/skylark/aspects.md
@@ -177,15 +177,15 @@ on the target objects representing its `proto_deps` attribute values.
### Applying aspects from command line.
-Aspects can also be applied on the command line, using the `--aspect` flag:
+Aspects can also be applied on the command line, using the `--aspects` flag:
```
bazel build //java/com/company/example:main \
- --aspect path/to/extension.bzl%metal_proto_aspect
+ --aspects path/to/extension.bzl%metal_proto_aspect
```
-`--aspect` flag takes one argument, which is a specification of the aspect in
+`--aspects` flag takes one argument, which is a specification of the aspect in
the format `<extension file path>%<aspect top-level name>`.