From 66b125bc80115133b45a39a226b0d333ec2f0afe Mon Sep 17 00:00:00 2001 From: 1Computer1 Date: Thu, 5 Sep 2019 10:17:20 -0400 Subject: [PATCH] Add default values to the CLI --- app/Main.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Main.hs b/app/Main.hs index b4df8b9..30b6d76 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -20,12 +20,16 @@ parseArgs = execParser $ info (helper <*> args) (fullDesc <> progDesc "Run the M , short 'c' , help "Set the Dhall configuration" , metavar "DHALL" + , value "./config.dhall" + , showDefault ]) <*> option str (mconcat [ long "languages" , short 'l' , help "Set the languages directory" , metavar "DIR" + , value "./languages/" + , showDefault ]) main :: IO ()