summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ghc-cabal')
-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