Skip to content

Commit 44e46b8

Browse files
joelebacopybara-github
authored andcommitted
Make --include_aspect the default behavior for aquery.
From various user feedbacks, we've found that more often than not, aspect-generated actions should be included in the final result. RELNOTES: None PiperOrigin-RevId: 351315949
1 parent 9d1c59b commit 44e46b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/docs/aquery.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ <h4><code class='flag'>--include_artifacts, default=true</code></h4>
155155
Includes names of the action inputs and outputs in the output (potentially large).
156156
</p>
157157

158-
<h4><code class='flag'>--include_aspects, default=false</code></h4>
158+
<h4><code class='flag'>--include_aspects, default=true</code></h4>
159159

160160
<p>
161161
Whether to include Aspect-generated actions in the output.

src/main/java/com/google/devtools/build/lib/query2/common/CommonQueryOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public String getLineTerminator() {
128128

129129
@Option(
130130
name = "include_aspects",
131-
defaultValue = "false",
131+
defaultValue = "true",
132132
documentationCategory = OptionDocumentationCategory.QUERY,
133133
effectTags = {OptionEffectTag.TERMINAL_OUTPUT},
134134
help =

0 commit comments

Comments
 (0)