Skip to content

Commit

Permalink
Merge pull request #98 from liuzehui03/master
Browse files Browse the repository at this point in the history
update UG
  • Loading branch information
liuzehui03 committed Apr 5, 2024
2 parents fd72967 + 1b6a222 commit 9ada02d
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,29 +330,15 @@ Example output:
### Finding a book by genre: `find-genre`
Returns all books in the saved book list that are stored under the matching genre.

Format: `find-genre` then user will be prompted to enter a `[NUMBER]` , the index corresponding to the available genre.
Format: `find-genre [KEYWORD]` .

Example of usage with expected output:

```
//input
find-genre
find-genre fiction
```
````
//output
Available genres:
1. Fiction
2. Non-Fiction
3. Mystery
4. Science Fiction
5. Fantasy
Enter the number for the desired genre:
````
````
//input
1
````
````
//ouput
1. [U] harry potter
````
Expand Down Expand Up @@ -438,7 +424,7 @@ to be saved.**
* Sort books by rating: `list-rated`
* Display details: `display [BOOK_INDEX]`
* Find books with specific title: `find-title [KEYWORD]`
* Find books with specific genre: `find-genre` followed by `[NUMBER]`
* Find books with specific genre: `find-genre [KEYWORD]`
* Find books that are read: `find-read`
* Find books that are unread: `find-unread`
* Exit program: `bye`

0 comments on commit 9ada02d

Please sign in to comment.