diff options
author | Yue Gan <yueg@google.com> | 2016-06-13 09:28:15 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2016-06-13 11:20:08 +0000 |
commit | 8d23e6061ce110971d75f7a15015a60d6e49a4d4 (patch) | |
tree | cb24fc709ae393c949002e6e7eb687da2e297e91 | |
parent | 06212ef273696686e1e5a71baa3cb43d9154101d (diff) |
Replace --aspect with --aspects.
Fixes #1375.
--
MOS_MIGRATED_REVID=124706979
-rw-r--r-- | site/blog/_posts/2016-06-10-ide-support.md | 4 | ||||
-rw-r--r-- | site/docs/skylark/aspects.md | 6 |
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>`. |