Fix canonicalize-flags to inherit options from query. This is a patch to support the request for canonicalize-flags to support starlark options.
@@ -45,6 +45,8 @@ import java.util.logging.Level;
@Command(
name = "canonicalize-flags",
options = {CanonicalizeCommand.Options.class, PackageCacheOptions.class},
+ // inherits from query to get proper package loading options.
+ inherits = {QueryCommand.class},
allowResidue = true,
mustRunInWorkspace = false,
shortDescription = "Canonicalizes a list of %{product} options.",
