summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-20 22:09:16 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2016-12-21 08:56:44 -0800
commit99db12f54fa5d4dcf264f00c6f97d08d33b587d0 (patch)
treed9157c1fa18836d4be07ade3eb4bbed7af9e4f57
parentee4e1654c31b9c6f6ad9b19ece25f040bbbcbd72 (diff)
downloadhaskell-99db12f54fa5d4dcf264f00c6f97d08d33b587d0.tar.gz
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@cs.stanford.edu> Test Plan: none Reviewers: bgamari, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2889
-rw-r--r--utils/ghc-cabal/Main.hs10
1 files changed, 7 insertions, 3 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs
index 12699a7f2d..608517ea8b 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