[project @ 2005-08-03 09:34:55 by simonmar]
authorsimonmar <unknown>
Wed, 3 Aug 2005 09:34:55 +0000 (09:34 +0000)
committersimonmar <unknown>
Wed, 3 Aug 2005 09:34:55 +0000 (09:34 +0000)
commit95a8c303892098035ca073c602f54477d1e11137
treec5ee0d7f6a8114fee09bf170f7ae1a169a0c200e
parent53670972d5864017aa35607da922c11f76dde331
[project @ 2005-08-03 09:34:55 by simonmar]
Tidyup, and make all the commands that take a package identifier
behave the same.  Previously, naming a package without a version
number only matched the same package identifier, if you wanted to
match multiple packages you had to say P-*.  However, the new list and
latest commands behave differently, which was inconsistent.

I believe the previous behaviour was for backwards compatibility with
packages that had no version number.  However, it's unlikely that this
is ever useful, so I've changed the semantics so that a package name
on its own matches all versions of that package.
ghc/utils/ghc-pkg/Main.hs