Skip to content

Commit

Permalink
Merge pull request #227 from yeozongyao/branch-zongyao-codeenhancements
Browse files Browse the repository at this point in the history
Update user guide
  • Loading branch information
yeozongyao committed Apr 15, 2024
2 parents 3ef2f65 + 468cb72 commit d822274
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,26 @@ Available genres:
4. Science Fiction
5. Fantasy
6. Add a new genre
Enter the number for the desired genre, or add a new one:
----Enter the number for the desired genre, or add a new one, or 'exit' to go back:
//Enter the number for the desired genre, or add a new one:
//input
6
//output
Enter the new genre:
--------Enter the new genre, or 'exit' to go back:
//input
satire
//output
okii categorised [animal farm] as [satire]
remember to read it soon....
___________________________________
Added new genre to the list: satire
_____________
okii categorised [e] as [satire]
_____________
```

For advanced users:
Expand All @@ -259,8 +265,13 @@ Example of usage with expected output:
set-genre 1 Fiction
//output
okii categorised [Harry Potter] as [Fiction]
remember to read it soon....
___________________________________
[Fiction] exists in the existing genre list!
_____________
okii categorised [Geronimo] as [Fiction]
_____________
```

### Removing a genre: `remove-genre`
Expand Down

0 comments on commit d822274

Please sign in to comment.