Skip to content

Commit

Permalink
Fix Course Code bug
Browse files Browse the repository at this point in the history
  • Loading branch information
saiutkarsh33 committed Apr 8, 2024
1 parent 977cef5 commit 6b3e5ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ The quick reference is meant for **fast and reliable** lookup of commands and th

### Name/Rename CS course : `setcrs`

Names the course in question.
Sets the course code in question.

Format: `setcrs COURSE_NAME`
Format: `setcrs COURSE_code`

Duplicate course are not allowed.
Courses are case-insensitive.
Expand Down Expand Up @@ -524,7 +524,7 @@ If you move the application to a secondary screen, and later switch to using onl
| **Mark** | `mark nn/NUSNET_ID wk/WEEK_NUMBER`<br> e.g., `mark nn/e1234567 wk/3` |
| **Unmark** | `unmark nn/NUSNET_ID wk/WEEK_NUMBER`<br> e.g., `unmark nn/e1234567 wk/3` |
| **Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` |
| **Set Course** | `setcrs COURSE_NAME` |
| **Set Course** | `setcrs COURSE_CODE` |
| **List** | `list` |
| **Help** | `help` |
| **Exit** | `exit` |
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ public class SetCourseCommand extends Command {

public static final String MESSAGE_USAGE = CommandMessageUsageUtil.generateMessageUsage(
COMMAND_WORD,
"Sets the course name. ",
"Sets the course code. ",
PARAMETER_COURSE_CODE);

public static final String MESSAGE_SUCCESS = "Successfully updated course name";
public static final String MESSAGE_SUCCESS = "Successfully updated course code";


private final Course course;
Expand Down

0 comments on commit 6b3e5ae

Please sign in to comment.