Add FALLTHRU

This commit is contained in:
Dennis Skinner
2023-12-04 13:38:50 -05:00
parent 4a606dc2cd
commit 3adb5dd7b9
2 changed files with 4 additions and 3 deletions

View File

@@ -2329,7 +2329,8 @@ int UnityParseOptions(int argc, char** argv)
UnityPrint("ERROR: Unknown Option "); UnityPrint("ERROR: Unknown Option ");
UNITY_OUTPUT_CHAR(argv[i][1]); UNITY_OUTPUT_CHAR(argv[i][1]);
UNITY_PRINT_EOL(); UNITY_PRINT_EOL();
/* fall-through to display help */ /* Now display help */
/* FALLTHRU */
case 'h': case 'h':
UnityPrint("Options: "); UNITY_PRINT_EOL(); UnityPrint("Options: "); UNITY_PRINT_EOL();
UnityPrint("-l List all tests and exit"); UNITY_PRINT_EOL(); UnityPrint("-l List all tests and exit"); UNITY_PRINT_EOL();

View File

@@ -1163,7 +1163,7 @@ RUNNER_TESTS = [
"Options:", "Options:",
"-l List all tests and exit", "-l List all tests and exit",
"-f NAME Filter to run only tests whose name includes NAME", "-f NAME Filter to run only tests whose name includes NAME",
"-n NAME (deprecated) alias of -f", "-n NAME \\(deprecated\\) alias of -f",
"-h show this Help menu", "-h show this Help menu",
"-q Quiet/decrease verbosity", "-q Quiet/decrease verbosity",
"-v increase Verbosity", "-v increase Verbosity",
@@ -1187,7 +1187,7 @@ RUNNER_TESTS = [
"Options:", "Options:",
"-l List all tests and exit", "-l List all tests and exit",
"-f NAME Filter to run only tests whose name includes NAME", "-f NAME Filter to run only tests whose name includes NAME",
"-n NAME (deprecated) alias of -f", "-n NAME \\(deprecated\\) alias of -f",
"-h show this Help menu", "-h show this Help menu",
"-q Quiet/decrease verbosity", "-q Quiet/decrease verbosity",
"-v increase Verbosity", "-v increase Verbosity",