diff options
author | Marvin Borner | 2022-07-18 23:29:18 +0200 |
---|---|---|
committer | Marvin Borner | 2022-07-18 23:29:18 +0200 |
commit | 6c833c1e5fad32bf6262af226b25a0e0b61c4d0b (patch) | |
tree | 57394663d94d7ba71c190ae76a0b9f8ecec946a1 /src/Eval.hs | |
parent | 4207797a2a96c2be9e07c4dee5a1fa1f89e845ed (diff) |
Improved help screen
Diffstat (limited to 'src/Eval.hs')
-rw-r--r-- | src/Eval.hs | 9 |
1 files changed, 8 insertions, 1 deletions
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 "<default>\texecute path as text-bruijn" evalMain :: IO () evalMain = do |