Skip to content

Commit

Permalink
Merge pull request #263 from saiutkarsh33/update-ug-setcrs
Browse files Browse the repository at this point in the history
Update ug setcrs
  • Loading branch information
tituschewxj authored Apr 15, 2024
2 parents db2c9bb + 3ee60a1 commit 060dea5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ Sets the course code in question.

Course is shown at the top of the window.

Course is shown at the top of the window.

<box type="definition" icon=":fa-solid-spell-check:" light>

**Format: `setcrs COURSE_CODE`**
Expand All @@ -367,6 +369,9 @@ Here is the output in the command results when the `setcrs` command is successfu

Course code should follow the format "XX1234Y", Y is optional.

X and Y can be any letters, while 1234 can be any 4-digit number.

Course code is meant for CS coded courses, hence only 2 prefix letters are allowed.

When an invalid course code is entered, the following error message appears:

Expand Down
2 changes: 1 addition & 1 deletion docs/diagrams/CommandHistoryActivityDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ endif
:Input field is cleared;

stop
@enduml
@enduml
Binary file added docs/images/ug/setcrs_2101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ug/setcrs_error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/ug/setcrs_successful.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 060dea5

Please sign in to comment.