[commit: ghc] master: Update ghc-cabal command line usage text. (99db12f)

git at git.haskell.org git at git.haskell.org
Wed Dec 21 22:49:35 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/99db12f54fa5d4dcf264f00c6f97d08d33b587d0/ghc

>---------------------------------------------------------------

commit 99db12f54fa5d4dcf264f00c6f97d08d33b587d0
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Tue Dec 20 22:09:16 2016 -0800

    Update ghc-cabal command line usage text.
    
    Summary:
    Old usage text was horribly out-of-date.  Now updated!
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: none
    
    Reviewers: bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2889


>---------------------------------------------------------------

99db12f54fa5d4dcf264f00c6f97d08d33b587d0
 utils/ghc-cabal/Main.hs | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs
index 12699a7..608517e 100644
--- a/utils/ghc-cabal/Main.hs
+++ b/utils/ghc-cabal/Main.hs
@@ -66,9 +66,13 @@ main = do hSetBuffering stdout LineBuffering
 
 syntax_error :: [String]
 syntax_error =
-    ["syntax: ghc-cabal configure <configure-args> -- <distdir> <directory>...",
-     "        ghc-cabal install <ghc-pkg> <directory> <distdir> <destdir> <prefix> <args>...",
-     "        ghc-cabal hscolour <distdir> <directory> <args>..."]
+    ["syntax: ghc-cabal configure <directory> <distdir> <dll0modules> <args>...",
+     "        ghc-cabal copy <directory> <distdir> <strip> <destdir> <prefix> <libdir> <docdir> <libways> <args>...",
+     "        ghc-cabal register <directory> <distdir> <ghc> <ghcpkg> <topdir> <destdir> <prefix> <libdir> <docdir> <relocatable> <args>...",
+     "        ghc-cabal hscolour <directory> <distdir> <args>...",
+     "        ghc-cabal check <directory>",
+     "        ghc-cabal sdist <directory> <distdir>",
+     "        ghc-cabal --version"]
 
 die :: [String] -> IO a
 die errs = do mapM_ (hPutStrLn stderr) errs



More information about the ghc-commits mailing list