From f3846d8ba1b27c0ac7949a80bfffe6fd289cf4f4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 20 Dec 2018 21:50:47 +0100 Subject: Fix error reporting for illegal command line arguments --- silc.icl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'silc.icl') diff --git a/silc.icl b/silc.icl index 7308914..4a5ceea 100644 --- a/silc.icl +++ b/silc.icl @@ -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" +++ -- cgit v1.2.3