1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

specify usage pattern

This commit is contained in:
Ayman Nadeem 2019-10-21 12:57:16 -04:00
parent fc910ac5e4
commit 90be70f045

View File

@ -21,6 +21,7 @@ data SemanticAST = SemanticAST
, source :: Either [FilePath] Prelude.String
}
-- Usage: semantic-ast --format ARG [--no-color] [--sourceString STRING] [FILEPATHS…]
parseAST :: Parser SemanticAST
parseAST = SemanticAST
<$> option auto