From 6c833c1e5fad32bf6262af226b25a0e0b61c4d0b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 18 Jul 2022 23:29:18 +0200 Subject: Improved help screen --- src/Eval.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Eval.hs b/src/Eval.hs index 5494ee7..0b7632a 100644 --- a/src/Eval.hs +++ b/src/Eval.hs @@ -198,7 +198,14 @@ runRepl = do return code usage :: IO () -usage = putStrLn "Invalid arguments. Use 'bruijn [file]' instead" +usage = do + putStrLn "Invalid arguments. Use 'bruijn [option] path' instead" + putStrLn "-c\tcompile path to binary-BLC" + putStrLn "-C\tcompile path to ASCII-BLC" + putStrLn "-e\texecute path as binary-BLC" + putStrLn "-E\texecute path as ASCII-BLC" + putStrLn "-*\tshow this help" + putStrLn "\texecute path as text-bruijn" evalMain :: IO () evalMain = do -- cgit v1.2.3