From 0bc74d28eaad64a6da5c261d5f2cf48fd11ef44e Mon Sep 17 00:00:00 2001 From: saiutkarsh33 <122259179+saiutkarsh33@users.noreply.github.com> Date: Wed, 27 Mar 2024 18:30:08 +0800 Subject: [PATCH 1/3] Update DG --- docs/DeveloperGuide.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 00032b10e8d..88f38141467 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -204,6 +204,9 @@ Step 4. The user now decides that adding the person was a mistake, and decides t +Step 5. The user wants to set the course name. He enters the command setcrs CS2103T, causing the course name to appear on the main window's title. + + @@ -477,3 +480,13 @@ students. 1. _{explain how to simulate a missing/corrupted file, and the expected behavior}_ 1. _{ more test cases …​ }_ + +### Setting the course + +1. Setting a course + + 1. Test case: `setcrs CS2103`
+ Enter setcrs followed by a whitespace, followed by a course code in the format "XX1234Y", where X and Y can be any letter + in upper or lower case, and 1234 can be any 4 digit number. Y is optional + Expected: The main window's title is set as the course code provided + From d6d77e058ca56b0b4314b58a502951a43cc4b524 Mon Sep 17 00:00:00 2001 From: saiutkarsh33 <122259179+saiutkarsh33@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:40:23 +0800 Subject: [PATCH 2/3] Quotes on command Co-authored-by: Wu Xiaoyun --- docs/DeveloperGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 88f38141467..8810bae2cbd 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -204,7 +204,7 @@ Step 4. The user now decides that adding the person was a mistake, and decides t -Step 5. The user wants to set the course name. He enters the command setcrs CS2103T, causing the course name to appear on the main window's title. +Step 5. The user wants to set the course name. He enters the command `setcrs CS2103T`, causing the course name to appear on the main window's title. From 3d617565d387ec4b75a42320336be73612a12de6 Mon Sep 17 00:00:00 2001 From: saiutkarsh33 <122259179+saiutkarsh33@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:40:40 +0800 Subject: [PATCH 3/3] Further Quotes on Command Co-authored-by: Wu Xiaoyun --- docs/DeveloperGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 8810bae2cbd..4b8e78785aa 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -486,7 +486,7 @@ students. 1. Setting a course 1. Test case: `setcrs CS2103`
- Enter setcrs followed by a whitespace, followed by a course code in the format "XX1234Y", where X and Y can be any letter - in upper or lower case, and 1234 can be any 4 digit number. Y is optional + Enter setcrs followed by a whitespace, followed by a course code in the format `XXYYYYZ`, where `X` and `Z` can be any letter + in upper or lower case, `YYYY` can be any 4 digit number and `Z` is optional. Expected: The main window's title is set as the course code provided