You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UserGuide.md
+43-25Lines changed: 43 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
-[Editing data file](#editing-data-file)
28
28
-[CAUTION: Edits that make the data invalid can cause BookKeeper to behave in unexpected ways. Edit data files only if you are confident that you can update it correctly.](#caution-edits-that-make-the-data-invalid-can-cause-bookkeeper-to-behave-in-unexpected-ways-edit-data-files-only-if-you-are-confident-that-you-can-update-it-correctly)
29
29
-[Data Validation](#data-validation)
30
-
-[Notes:](#notes)
30
+
-[Notes](#notes)
31
31
-[Command Summary](#command-summary)
32
32
33
33
<divstyle="page-break-after: always;"></div>
@@ -63,9 +63,11 @@ Adds a book to the library collection.
- BookKeeper considers books of different casing as separate books.
69
71
70
72
Example:
71
73
@@ -110,9 +112,13 @@ Expected Outcome:
110
112
Removed book: Great Gatsby
111
113
```
112
114
115
+
Notes:
116
+
117
+
- Removing a book with an existing loan will delete the associated loan as well
118
+
113
119
### Updating a Book: `update-book`
114
120
115
-
Updates the author, category, condition, location and note with the information provided. While the 4 fields are optional, `update-book` expects at least one field to be updated.
121
+
Updates the author, category, condition, location and note with the information provided. While the 4 fields are optional, `update-book` expects at least one field to be updated. If a user wants to update a book title, they should use the `update-title` command instead.
Search for a book in the inventory by title based on the keyword.
177
+
Search for a book in the inventory by title based on the keyword. Unlike all other commands, search-title uses _case-insensitive_ searching for a better user experience.
166
178
167
179
Format: `search-title KEYWORD`
168
180
@@ -241,13 +253,18 @@ Here are the books in your inventory:
- The book to be loaned out must exist in the inventory.
252
269
- The RETURN_DATE must be in the format DD-MM-YYYY.
253
270
- The RETURN_DATE cannot be in the past.
@@ -338,13 +355,13 @@ Expected Outcome:
338
355
Here are the active loans:
339
356
1. Title: Great Gatsby
340
357
Borrower: John Doe
341
-
Return Date: 2023-12-01
358
+
Return Date: 12-01-2023
342
359
Contact Number: 98765432
343
360
Email: abc123@gmail.com
344
361
345
362
2. Title: Cheese Chronicles
346
363
Borrower: Gerald
347
-
Return Date: 2043-11-04
364
+
Return Date: 11-04-2025
348
365
...
349
366
```
350
367
@@ -427,28 +444,29 @@ Warning Message:
427
444
### Notes:
428
445
429
446
-**Commands Are Case-Sensitive**: Ensure that commands and inputs (e.g., book titles, borrower names) match the exact case.
430
-
-**Books Are Unique**: Each book in the inventory is unique and identified by its title. Duplicate books are not allowed.
431
-
-**Input Character Limitations**: We guarantee support for the English keyboard only. For contact numbers, only Singapore numbers are supported (omit +65). Please do not use the character `|` in your inputs.
447
+
-**Books Are Unique**: Each book in the inventory is unique and identified by its title. Duplicate books are not allowed. Books are case sensitive.
448
+
-**Input Character Limitations**: We guarantee support for the English keyboard only. For contact numbers, only Singapore numbers are supported (omit +65). Please do not use the character `|` in your inputs. Special sequences such as ANSI escape code are not supported.
432
449
-**Data Size/Length Limitations**: Inventory size, loan list length and no. of characters in user input should not exceed `2147483647` (>2 billion).
433
450
-**User Responsibility**: User is responsible for text between flags (demarcated by `/`), e.g. `" "` is considered a valid book title if user follows proper command syntax.
451
+
-**File Permissions**: Users should not tamper with BookKeeper file permissions to ensure a seamless experience.
0 commit comments