From: prandeamus Date: Sun, 7 Jan 2018 18:57:48 +0000 (+0000) Subject: Complain if unsupported flags are provided after -O X-Git-Tag: V2.17~48^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F570%2Fhead;p=cc65 Complain if unsupported flags are provided after -O --- 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;