1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Merge branch 'master' into typescript-assignment

This commit is contained in:
Josh Vera 2017-09-27 16:33:59 -06:00 committed by GitHub
commit 337816f63c

View File

@ -67,9 +67,9 @@ arguments = info (version <*> helper <*> ((,) <$> optionsParser <*> argumentsPar
<|> flag' (SomeRenderer SExpressionDiffRenderer) (long "sexpression" <> help "Output an s-expression diff tree")
<|> flag' (SomeRenderer OldToCDiffRenderer) (long "toc" <> help "Output a table of contents for a diff")
<|> flag' (SomeRenderer ToCDiffRenderer) (long "toc-assignment" <> help "Output a table of contents for a diff using the assignment parser") )
<*> ( ((Right . pure) .) . both
<*> ( Right <$> some (both
<$> argument filePathReader (metavar "FILE_A")
<*> argument filePathReader (metavar "FILE_B")
<*> argument filePathReader (metavar "FILE_B"))
<|> pure (Left stdin) )
parseCommand = command "parse" (info parseArgumentsParser (progDesc "Print parse trees for path(s)"))