diff options
author | Camil Staps | 2018-12-20 21:50:47 +0100 |
---|---|---|
committer | Camil Staps | 2018-12-20 21:50:47 +0100 |
commit | f3846d8ba1b27c0ac7949a80bfffe6fd289cf4f4 (patch) | |
tree | 410f25b9d9d490f4aef9201d5c137c3ffdb4c30f | |
parent | Bring up to date (diff) |
Fix error reporting for illegal command line arguments
-rw-r--r-- | silc.icl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,8 +132,8 @@ where <|> (\ cli -> {cli & generate=False}) <$ item "--no-generate" <|> (\ cli -> {cli & help=True}) <$ anyItem ["-h", "--help"] <|> (\name cli -> {cli & inputfile=Just name}) <$> satisfy isFilename - <?> P_Invalid "command line argument" opt ) + <?> P_Invalid "command line argument" opt HELP = "silc: simple imperative language compiler\r\n\r\n" +++ "Usage: silc [-p|--pretty-print] [--no-check] [--no-compile] [--no-generate] [-h|--help] [FILE]\r\n\r\n" +++ |