Skip to content

Commit

Permalink
Fix wrong rule name in cquery docs.
Browse files Browse the repository at this point in the history
Also fix bad HTML escaping.

PiperOrigin-RevId: 620011017
Change-Id: I1944ee47caf602124cebebdab075af678846be50
  • Loading branch information
katre authored and copybara-github committed Mar 28, 2024
1 parent 46285cb commit 5151bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/en/query/cquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ $ bazel cquery 'somepath(//foo, //bar)' --universe_scope=//foo

`cquery` does not automatically wipe the build graph from
previous commands and is therefore prone to picking up results from past
queries. For example, `genquery` exerts an exec transition on
queries. For example, `genrule` exerts an exec transition on
its `tools` attribute - that is, it configures its tools in the
[exec configuration](/extending/rules#configurations).

Expand Down Expand Up @@ -606,7 +606,7 @@ tool(exec_config)
</pre>

Workaround: change any startup option to force re-analysis of configured targets.
For example, add `--test_arg=&lt;whatever&gt;` to your build command.
For example, add `--test_arg=<whatever>` to your build command.

## Troubleshooting {:#troubleshooting}

Expand Down

0 comments on commit 5151bc3

Please sign in to comment.