From 898245431f147c9f31207f855c47d7fb54f5c53c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 26 Apr 2021 21:07:58 +0100 Subject: Make -strict-style the default #871 --- src/main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index c34377bfa..fbce4838c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1216,8 +1216,8 @@ bool parse_build_flags(Array args) { break; case BuildFlag_StrictStyle: - build_context.insert_semicolon = true; - build_context.strict_style = true; + gb_printf_err("-strict-style flag is not required any more\n"); + bad_flags = true; break; @@ -1802,10 +1802,6 @@ void print_show_help(String const arg0, String const &command) { print_usage_line(2, "Inserts semicolons on newlines during tokenization using a basic rule"); print_usage_line(0, ""); - print_usage_line(1, "-strict-style"); - print_usage_line(2, "Enforces code style stricter whilst parsing, requiring such things as trailing commas"); - print_usage_line(0, ""); - print_usage_line(1, "-ignore-warnings"); print_usage_line(2, "Ignores warning messages"); print_usage_line(0, ""); -- cgit v1.2.3