logo       

[ ghc-Bugs-769733 ] ghc-pkg --list-packages-local is the wrong choice: msg#00045

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-769733 ] ghc-pkg --list-packages-local is the wrong choice

Bugs item #769733, was opened at 2003-07-11 16:15
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=769733&group_id=8032

Category: Build System
Group: 6.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Axel Simon (as49)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc-pkg --list-packages-local is the wrong choice

Initial Comment:
I guess adding the --list-packages-local flag to
ghc-pkg wasn't a good thing afterall since
--list-packages is now useless:

~:$ ghc-pkg --list-packages
option `--list-packages' is ambiguous; could be one of:
-l --list-packages List packages in all
config files
-L --list-packages-local List packages in the
specified config file

Could the "local" option be changed to
--list-local-packages? It scans better anyway.

Thanks,
Axel.




----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2003-07-16 15:15

Message:
Logged In: YES
user_id=48280

Not really a bug in ghc-pkg (as Sven pointed out).
Nevertheless, I changed the name of the flag.

----------------------------------------------------------------------

Comment By: Sven Panne (spanne)
Date: 2003-07-11 16:32

Message:
Logged In: YES
user_id=50298

This is triggered by a buglet in an old version of
System.Console.GetOpt, fixed a long time ago (including GHC
5.04.3). Solution: Bootstrap your GHC with a GHC >= 5.04.3
(or use the short option :-).

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=769733&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise