patch applied (hugs98): Added --list-packages option (for use in GHC' s Makefiles)