on master help sign in
A couple of minor tweaks (command line options parser)
d74b211mrkkrp
app/Main.hs+2−2
@@ -118,7 +118,7 @@ optsParser = Opts
118 , short 'm'
118 , short 'm'
119 , metavar "MODE"
119 , metavar "MODE"
120 , value Stdout
120 , value Stdout
121− , help "Mode of operation: 'stdout', 'inplace', or 'check'"
121+ , help "Mode of operation: 'stdout' (default), 'inplace', or 'check'"
122 ]
122 ]
123 <*> configParser
123 <*> configParser
124 <*> (many . strArgument . mconcat)
124 <*> (many . strArgument . mconcat)
@@ -152,7 +152,7 @@ configParser = Config
152 <*> (switch . mconcat)
152 <*> (switch . mconcat)
153 [ long "check-idempotency"
153 [ long "check-idempotency"
154 , short 'c'
154 , short 'c'
155− , help "Fail if formatting is not idempotent."
155+ , help "Fail if formatting is not idempotent"
156 ]
156 ]
157
157
158----------------------------------------------------------------------------
158----------------------------------------------------------------------------