From 6fd3c762ff53099195f706f64eae2d777020c9eb Mon Sep 17 00:00:00 2001 From: Debbie Hii Wenxin Date: Fri, 3 Nov 2023 15:53:04 +0800 Subject: [PATCH] Update storage section of the UG --- docs/UserGuide.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 4cb64c8acf9..cde79feede9 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -548,7 +548,7 @@ displays them as a list with index numbers. Format: `filter-c KEYWORD [MORE KEYWORDS]` - +
  • Returns an empty list if there are no clients whose name matches the keyword. @@ -702,21 +702,22 @@ Format: `exit` ### Saving the data -AddressBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually. +AddressBook, EventsBook, and FinanceBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually. ### Editing the data file -AddressBook data are saved automatically as a JSON file `[JAR file location]/data/addressbook.json`. Advanced users are welcome to update data directly by editing that data file. +The following data are saved automatically as a JSON file. Advanced users are welcome to update data directly by editing that data file. +- AddressBook: `[JAR file location]/data/addressbook.json` +- EventsBook: `[JAR file location]/data/eventsbook.json` +- FinanceBook: `[JAR file location]/data/financebook.json` **Caution:** -If your changes to the data file makes its format invalid, AddressBook will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it. - +If your changes to the data file makes its format invalid, AddressBook, EventsBook and FinanceBook will discard all data and start with an empty data file at the next run (i.e. one corrupted file can wipe out the other files as well). Hence, it is recommended to take a backup of the files before editing them. - --------------------------------------------------------------------------------------------------------------------