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:
parent
c0513b3024
commit
d74b211f1e
@ -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"
|
||||
]
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user