1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Add a --split option.

This commit is contained in:
Rob Rix 2015-12-01 11:32:52 -05:00
parent f655c414f7
commit 5512f48ee5

View File

@ -58,7 +58,8 @@ data Argument = Argument { output :: Output, sourceA :: FilePath, sourceB :: Fil
arguments :: Parser Argument
arguments = Argument
<$> (flag Split Unified (long "unified" <> help "output a unified diff"))
<$> (flag Split Unified (long "unified" <> help "output a unified diff")
<|> flag' Split (long "split" <> help "output a split diff"))
<*> argument str (metavar "FILE a")
<*> argument str (metavar "FILE b")