Closed
Description
I would like to suggest changing the behaviour of cabal list PKG
to list only the info for the exact match PKG
by default and not all packages containing the substring PKG
, and adding a --all
option to get back the current behaviour. Alternatively for better backward compatibility an --exact
option could be added for this effect, leaving the current default behaviour of listing all matches.
Looking at https://github.com/haskell/cabal/blob/master/cabal-install/Distribution/Client/List.hs this seems possible though the code will need a little tweaking.