From fcb4e53c367b8df1053810ed8ed6192ee322e27d Mon Sep 17 00:00:00 2001 From: Dennis Skinner <1518323+Skinner927@users.noreply.github.com> Date: Sun, 3 Dec 2023 22:07:15 -0500 Subject: [PATCH] Update help menu to use mnemonics --- src/unity.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/unity.c b/src/unity.c index 284f0dc..8b858c9 100644 --- a/src/unity.c +++ b/src/unity.c @@ -2332,13 +2332,13 @@ int UnityParseOptions(int argc, char** argv) /* fall-through to display help */ case 'h': UnityPrint("Options: "); UNITY_PRINT_EOL(); - UnityPrint("-l List all tests"); UNITY_PRINT_EOL(); - UnityPrint("-f TEST Only run tests with TEST in the name"); UNITY_PRINT_EOL(); - UnityPrint("-n TEST Only run tests with TEST in the name"); UNITY_PRINT_EOL(); - UnityPrint("-h Show this help menu"); UNITY_PRINT_EOL(); - UnityPrint("-q Quiet/Decrease verbosity"); UNITY_PRINT_EOL(); - UnityPrint("-v Increase verbosity"); UNITY_PRINT_EOL(); - UnityPrint("-x TEST Exclude tests with TEST in the name"); UNITY_PRINT_EOL(); + UnityPrint("-l List all tests and exit"); UNITY_PRINT_EOL(); + UnityPrint("-f NAME Filter to run only tests whose name includes NAME"); UNITY_PRINT_EOL(); + UnityPrint("-n NAME (deprecated) alias of -f"); UNITY_PRINT_EOL(); + UnityPrint("-h show this Help menu"); UNITY_PRINT_EOL(); + UnityPrint("-q Quiet/decrease verbosity"); UNITY_PRINT_EOL(); + UnityPrint("-v increase Verbosity"); UNITY_PRINT_EOL(); + UnityPrint("-x NAME eXclude tests whose name includes NAME"); UNITY_PRINT_EOL(); UNITY_OUTPUT_FLUSH(); return 1; }