From: simonmar Date: Fri, 30 May 2003 13:32:21 +0000 (+0000) Subject: [project @ 2003-05-30 13:32:20 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~833 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=be5d16a57c438741128b4d69d6ea8a8edc941560 [project @ 2003-05-30 13:32:20 by simonmar] Rename --list-packages-local to --list-local-packages, because it seems that having one long option which is a prefix of another doesn't work too well with GetOpt. --- diff --git a/ghc/docs/users_guide/packages.sgml b/ghc/docs/users_guide/packages.sgml index e6f0b7b..a01ae53 100644 --- a/ghc/docs/users_guide/packages.sgml +++ b/ghc/docs/users_guide/packages.sgml @@ -322,9 +322,9 @@ - + - + Displays the list of packages installed in the topmost configuration file only: that will be the diff --git a/ghc/utils/ghc-pkg/Main.hs b/ghc/utils/ghc-pkg/Main.hs index 1e850ef..24092ab 100644 --- a/ghc/utils/ghc-pkg/Main.hs +++ b/ghc/utils/ghc-pkg/Main.hs @@ -1,7 +1,7 @@ {-# OPTIONS -fglasgow-exts #-} ----------------------------------------------------------------------------- --- $Id: Main.hs,v 1.33 2003/05/16 08:35:49 simonmar Exp $ +-- $Id: Main.hs,v 1.34 2003/05/30 13:32:20 simonmar Exp $ -- -- Package management tool ----------------------------------------------------------------------------- @@ -75,7 +75,7 @@ flags = [ "Use the specified package config file", Option ['l'] ["list-packages"] (NoArg List) "List packages in all config files", - Option ['L'] ["list-packages-local"] (NoArg ListLocal) + Option ['L'] ["list-local-packages"] (NoArg ListLocal) "List packages in the specified config file", Option ['a'] ["add-package"] (NoArg (Add False)) "Add a new package",