1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-09-11 13:16:13 +03:00

A couple of minor tweaks (command line options parser)

This commit is contained in:
mrkkrp 2019-08-28 16:21:43 +02:00
parent c0513b3024
commit d74b211f1e
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -118,7 +118,7 @@ optsParser = Opts
, short 'm'
, metavar "MODE"
, value Stdout
, help "Mode of operation: 'stdout', 'inplace', or 'check'"
, help "Mode of operation: 'stdout' (default), 'inplace', or 'check'"
]
<*> configParser
<*> (many . strArgument . mconcat)
@ -152,7 +152,7 @@ configParser = Config
<*> (switch . mconcat)
[ long "check-idempotency"
, short 'c'
, help "Fail if formatting is not idempotent."
, help "Fail if formatting is not idempotent"
]
----------------------------------------------------------------------------