Skip to content

Commit

Permalink
Merge pull request #285 from xxiaoweii/add-command-ug
Browse files Browse the repository at this point in the history
Fix ug bug
  • Loading branch information
xxiaoweii authored Nov 14, 2023
2 parents b0d4d31 + 955da55 commit b34778f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ Example 4.1: `add --`
```
Invalid command format!
add: Adds a person to the address book.
Parameters: --name NAME [--role ROLE1, ...] [--contact CONTACT1, ...] [--course COURSECODE1/CLASS1, ...]
Parameters: --name NAME [--role ROLE1, ...] [--contact CONTACT1, ...]
[--course COURSECODE1/CLASS1, ...]
Example: add --name John --role Student, TA --contact [email protected], 98765432
--course CS2103T/G06, CS2101/G06, CS2100/T24
```
Expand Down Expand Up @@ -431,7 +432,8 @@ Example 8: `add -/-name alex yeoh`
```
Invalid command format!
add: Adds a person to the address book.
Parameters: --name NAME [--role ROLE1, ...] [--contact CONTACT1, ...] [--course COURSECODE1/CLASS1, ...]
Parameters: --name NAME [--role ROLE1, ...] [--contact CONTACT1, ...]
[--course COURSECODE1/CLASS1, ...]
Example: add --name John --role Student, TA --contact [email protected], 98765432
--course CS2103T/G06, CS2101/G06, CS2100/T24
```
Expand Down

0 comments on commit b34778f

Please sign in to comment.