@@ -15,6 +15,7 @@ data Flags = Flags
15 , cache_dir :: FilePath
15 , cache_dir :: FilePath
16 , build_dir :: FilePath
16 , build_dir :: FilePath
17 , src_dir :: [FilePath]
17 , src_dir :: [FilePath]
18+ , show_runtime :: Bool
19 deriving (Data,Typeable,Show,Eq)
20 deriving (Data,Typeable,Show,Eq)
@@ -37,7 +38,9 @@ flags = Flags
37 , src_dir = ["."] &= typFile
38 , src_dir = ["."] &= typFile
38 &= help "Additional source directories besides project root. Searched when using --make"
39 &= help "Additional source directories besides project root. Searched when using --make"
39 , print_types = False
40 , print_types = False
40− &= help "Print out infered types of top-level definitions."
41+ &= help "Print out inferred types of top-level definitions."
42+ , show_runtime = False
43+ &= help "Print the absolute path to the default Elm runtime."
41 } &= help "Compile Elm programs to HTML, CSS, and JavaScript."
44 } &= help "Compile Elm programs to HTML, CSS, and JavaScript."
42 &= helpArg [explicit, name "help", name "h"]
45 &= helpArg [explicit, name "help", name "h"]
43 &= versionArg [explicit, name "version", name "v", summary (show Version.elmVersion)]
46 &= versionArg [explicit, name "version", name "v", summary (show Version.elmVersion)]