aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 8731b7c..47d1bd2 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -24,6 +24,10 @@ args =
<$> (mode <|> pure ArgEval)
<*> switch (long "yolo" <> short 'y' <> help "Don't run tests")
<*> switch (long "verbose" <> short 'v' <> help "Increase verbosity")
+ <*> switch
+ (long "optimize" <> short 'O' <> help
+ "Optimize program (abstraction of duplicated terms)"
+ )
<*> strOption
(long "target" <> short 't' <> metavar "TARGET" <> value "" <> help
"Compile to target using BLoC and BLoCade"