From e6ae586a50c8b80929a7fa586c5cf7c29be87d87 Mon Sep 17 00:00:00 2001 From: Rachel Tai Ke Jia Date: Mon, 11 Nov 2024 21:34:12 +0800 Subject: [PATCH] Update message for unknown command --- docs/DeveloperGuide.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 61462ee35db..c6812b35a7c 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -1092,7 +1092,12 @@ testers are expected to do more *exploratory* testing. ## **Appendix: Planned enhancements** Team size: 5 -1. +1. **When an invalid command is entered, suggest possible valid commands.** +* **Flaw:** When a user types an unknown command, the result display box shows `Unknown Command`, which is + not informative. +* **Enhancement:** The result display box will suggest possible valid commands for the user to enter. +* **Sample Input:** User enters: `sort` +* **Expected Output:** The result display box shows `Unknown Command. Did you mean: list, find, clear, add, edit, delete, exit, or help?` 2. **Modify date parsing to check for leap years** * **Flaw:** When a user enters February 29 for a non-leap year, the date automatically adjusts to February