Default value for output flag
commit93cdfe833bf88d4885021bf9ba18790486fcc541
authorPhil Freeman <paf31@cantab.net>
dateFri 28 Nov 2014, 10:51 (12 years ago)
parent6b96a18
psc-make/Main.hs+2
@@ -107,6 +107,8 @@ outputDirectory :: Parser FilePath
107107outputDirectory = strOption $
108108 short 'o'
109109 <> long "output"
110+ <> Opts.value "output"
111+ <> showDefault
110112 <> help "The output directory"
111113
112114noTco :: Parser Bool