Skip to content

Commit 3e6e975

Browse files
juliexxiacopybara-github
authored andcommitted
Have canonicalize-flags command inherit from the build command in order to pick up build-specified --flag_alias settings from rc files.
PiperOrigin-RevId: 354587068
1 parent 36d228b commit 3e6e975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/google/devtools/build/lib/runtime/commands/CanonicalizeCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
@Command(
5151
name = "canonicalize-flags",
5252
options = {CanonicalizeCommand.Options.class, PackageOptions.class},
53-
// inherits from query to get proper package loading options.
54-
inherits = {QueryCommand.class},
53+
// inherits from build to get proper package loading options and rc flag aliases.
54+
inherits = {BuildCommand.class},
5555
allowResidue = true,
5656
mustRunInWorkspace = false,
5757
shortDescription = "Canonicalizes a list of %{product} options.",

0 commit comments

Comments
 (0)