You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, in the bazelrc file, a common option should consider if the bazel command supports a cli option. However, it seems that bazel shutdown does not support this.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
This works for all options that I've tested but here's an example:
in bazelrc:
common --use_ijars
then run bazel shutdown. The following error message will be displayed:
INFO: Reading rc options for 'shutdown' from .../.bazelrc:
Inherited 'common' options: --use_ijars
ERROR: --use_ijars :: Unrecognized option: --use_ijars
Which operating system are you running Bazel on?
os x
What is the output of bazel info release?
6.1.0
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered:
The documentation by default reflects the state of latest master. The functionality for common to check whether a command supports a flag will be released in 6.3.0 (#3054). 6.3.0rc1 is already available if you want to give it a try.
Description of the bug:
https://bazel.build/run/bazelrc#option-defaults
According to the documentation, in the bazelrc file, a
common
option should consider if the bazel command supports a cli option. However, it seems thatbazel shutdown
does not support this.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
This works for all options that I've tested but here's an example:
in bazelrc:
then run
bazel shutdown
. The following error message will be displayed:Which operating system are you running Bazel on?
os x
What is the output of
bazel info release
?6.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: