1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00

Move the fields onto the next line.

This commit is contained in:
Rob Rix 2017-07-21 16:15:56 -04:00
parent 1c7456571b
commit 323859d585

View File

@ -40,7 +40,8 @@ arguments = info (version <*> helper <*> ((,) <$> optionsParser <*> argumentsPar
description = fullDesc <> header "semantic -- Parse and diff semantically"
optionsParser = Task.Options
<$> options [("yes", Just True), ("no", Just False), ("auto", Nothing)] (long "colour" <> long "color" <> value Nothing <> help "Enable, disable, or decide automatically iff stderr is a terminal device, whether to use colour.")
<$> options [("yes", Just True), ("no", Just False), ("auto", Nothing)]
(long "colour" <> long "color" <> value Nothing <> help "Enable, disable, or decide automatically iff stderr is a terminal device, whether to use colour.")
<*> pure (Just Task.Warning)
argumentsParser = (. Task.writeToOutput) . (>>=)
<$> hsubparser (diffCommand <> parseCommand)