cmd/go: allow 'go list' to accept '-u' without '-m' #40676
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go list
with the-f
flag can print a lot of information about the module associated with a package.Unfortunately, we don't populate the
Module.Update
field unless the-u
flag is set, and the-u
flag can only be set today if the-m
flag is also set:We should investigate whether it is feasible to allow the
-u
flag without-m
. That would probably require a hook to instruct the package loader to compute upgrade information.CC @jayconrod @matloob @komuw
The text was updated successfully, but these errors were encountered: