Skip to content

Commit

Permalink
Fix one typo and align to 80 cols.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 484580085
Change-Id: I5c55a5e90b365a5b01dde914bb0819e1e683e1a7
  • Loading branch information
Googler authored and copybara-github committed Oct 28, 2022
1 parent 7305e39 commit 902a0b5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions site/en/run/bazelrc.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ before the command (`build`, `test`, etc).
This flag is optional but can also be specified multiple times.

`/dev/null` indicates that all further `--bazelrc`s will be ignored, which
is useful to disable the search for a user rc file, such as in release builds.
is useful to disable the search for a user rc file, such as in release
builds.

For example:

Expand Down Expand Up @@ -232,6 +233,9 @@ line. Entries are relative to the workspace root.
Bazel reads optional bazelrc files in this order:
- System rc-file located at `etc/bazel.bazelrc`.
- Workspace rc-file located at `$workspace/tools/bazel.rc`.
- Home rc-file localted at `$HOME/.bazelrc`
- Home rc-file located at `$HOME/.bazelrc`

Each bazelrc file listed here has a corresponding flag which can be used to disable them (e.g. `--nosystem_rc`, `--noworkspace_rc`, `--nohome_rc`). You can also make Bazel ignore all bazelrcs by passing the `--ignore_all_rc_files` startup option.
Each bazelrc file listed here has a corresponding flag which can be used to
disable them (e.g. `--nosystem_rc`, `--noworkspace_rc`, `--nohome_rc`). You can
also make Bazel ignore all bazelrcs by passing the `--ignore_all_rc_files`
startup option.

0 comments on commit 902a0b5

Please sign in to comment.