From b5e0393a65bc657288f35e0746113b9ca3caa74c Mon Sep 17 00:00:00 2001 From: Matt Gambogi Date: Sun, 1 Nov 2015 22:22:44 -0500 Subject: [PATCH] Address alias requests in #1241 --- src/main/Main.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/Main.hs b/src/main/Main.hs index 1b8da58355..54035d97c7 100644 --- a/src/main/Main.hs +++ b/src/main/Main.hs @@ -257,11 +257,21 @@ main = withInterpreterArgs stackProgName $ \args isInterpreter -> do cmdFooter ghciCmd ghciOptsParser + addCommand "repl" + "Run ghci in the context of package(s) (experimental) (alias for 'ghci')" + cmdFooter + ghciCmd + ghciOptsParser addCommand "runghc" "Run runghc" cmdFooter execCmd (execOptsParser $ Just ExecRunGhc) + addCommand "runhaskell" + "Run runghc (alias for 'runghc')" + cmdFooter + execCmd + (execOptsParser $ Just ExecRunGhc) addCommand "eval" "Evaluate some haskell code inline. Shortcut for 'stack exec ghc -- -e CODE'" cmdFooter