]> git.sur5r.net Git - cc65/commitdiff
Complain if unsupported flags are provided after -O 570/head
authorprandeamus <prandeamus@btinternet.com>
Sun, 7 Jan 2018 18:57:48 +0000 (18:57 +0000)
committerprandeamus <prandeamus@btinternet.com>
Sun, 7 Jan 2018 18:57:48 +0000 (18:57 +0000)
src/cc65/main.c

index d3d298876796be344db58dbc29b9881034838fb6..f8361f41cd86adbc469d0ed08b32a3ce2c838048 100644 (file)
@@ -986,6 +986,9 @@ int main (int argc, char* argv[])
                             case 's':
                                 IS_Set (&InlineStdFuncs, 1);
                                 break;
+                            default:
+                                UnknownOption (Arg);
+                                break;
                         }
                     }
                     break;