From e7aabce8e9724ed6493abfac1329f9c8a4634a54 Mon Sep 17 00:00:00 2001 From: prandeamus Date: Sun, 7 Jan 2018 18:57:48 +0000 Subject: [PATCH] Complain if unsupported flags are provided after -O --- src/cc65/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cc65/main.c b/src/cc65/main.c index d3d298876..f8361f41c 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -986,6 +986,9 @@ int main (int argc, char* argv[]) case 's': IS_Set (&InlineStdFuncs, 1); break; + default: + UnknownOption (Arg); + break; } } break; -- 2.39.5