Skip to content

Commit

Permalink
Have canonicalize-flags command inherit from the build command in o…
Browse files Browse the repository at this point in the history
…rder to pick up build-specified --flag_alias settings from rc files.

PiperOrigin-RevId: 354587068
  • Loading branch information
juliexxia authored and copybara-github committed Jan 29, 2021
1 parent 36d228b commit 3e6e975
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
@Command(
name = "canonicalize-flags",
options = {CanonicalizeCommand.Options.class, PackageOptions.class},
// inherits from query to get proper package loading options.
inherits = {QueryCommand.class},
// inherits from build to get proper package loading options and rc flag aliases.
inherits = {BuildCommand.class},
allowResidue = true,
mustRunInWorkspace = false,
shortDescription = "Canonicalizes a list of %{product} options.",
Expand Down

0 comments on commit 3e6e975

Please sign in to comment.