Skip to content

Commit

Permalink
Resolve merge conflicts for UG
Browse files Browse the repository at this point in the history
  • Loading branch information
H4mes committed Mar 21, 2024
2 parents 17a4e35 + 73be15d commit edf338f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/AboutUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We are a team based in the [School of Computing, National University of Singapor
* Role: Developer
* Responsibilities: Testing

### Benny Loh Choon Keong
### Benny Loh Choon Kiong

<img src="images/bennylck.png" width="200px">

Expand Down
16 changes: 9 additions & 7 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Now that you know the basic workflow, go ahead and try it out for yourself. If y
e.g. in `add n/NAME`, `NAME` is a parameter which can be used as `add n/John Doe`.

* Items in square brackets are optional.

e.g. `n/NAME [t/TAG]` can be used as `n/John Doe t/friend` or as `n/John Doe`.

* Items with `...` after them can be used multiple times. If the item is also in square brackets, it can even be used zero times.
Expand All @@ -118,6 +119,12 @@ Now that you know the basic workflow, go ahead and try it out for yourself. If y

### [3.1.1. Adding a person: `add`](#31-managing-contacts)

Shows a message explaining how to access the help page.

Format: `help`

### Adding a person: `add`

Adds a person to the address book.

Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]...`
Expand Down Expand Up @@ -157,7 +164,7 @@ Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]...`
* Edits the person at the specified `INDEX`. The index refers to the index number shown in the displayed person list. The index **must be a positive integer** 1, 2, 3, ...
* At least one of the optional fields must be provided.
* Existing values will be updated to the input values.
* When editing tags, the existing tags of the person will be removed i.e adding of tags is not cumulative.
* When editing tags, the existing tags of the person will be removed i.e. adding of tags is not cumulative.
* You can remove all the person’s tags by typing `t/` without
specifying any tags after it.

Expand All @@ -171,7 +178,7 @@ Finds persons whose names contain any of the given keywords.

Format: `find KEYWORD [MORE_KEYWORDS]`

* The search is case-insensitive. e.g `hans` will match `Hans`
* The search is case-insensitive. e.g. `hans` will match `Hans`
* The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans`
* Only the name is searched.
* Only full words will be matched e.g. `Han` will not match `Hans`
Expand Down Expand Up @@ -258,11 +265,6 @@ Format: `find -a KEYWORD [MORE_KEYWORDS]`
Examples:
* `find -a Monkey King` returns two articles: `Monkey breaking window of NTU student’s hall after being aggravated` and `King Charles’ health crisis: the future of Britain becomes uncertain`


* `find -a King` returns two articles: `King Charles’ health crisis: the future of Britain becomes uncertain` and `The king of the Jungle now reigns supreme in the state of Ohio`



## [3.3. Other Commands](#3-features)

### [3.3.1. Viewing help : `help`](#33-other-commands)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class SampleArticleDataUtil {

public static Article[] getSampleArticles() {
return new Article[]{
new Article("", new String[] {"Alice", "Bob"}, LocalDateTime.now(),
new String[] {"NUS Computing Club"}, "Student Life", Status.PUBLISHED)
new Article("The epitome of pain and suffering by NUS CS students.", new String[] {"Alice", "Bob"},
LocalDateTime.now(), new String[] {"NUS Computing Club"}, "Student Life", Status.PUBLISHED)
};
}

Expand Down
1 change: 0 additions & 1 deletion src/main/java/seedu/address/storage/StorageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public StorageManager(AddressBookStorage addressBookStorage, UserPrefsStorage us
this.addressBookStorage = addressBookStorage;
this.articleBookStorage = articleBookStorage;
this.userPrefsStorage = userPrefsStorage;
this.articleBookStorage = articleBookStorage;
}

// ================ UserPrefs methods ==============================
Expand Down

0 comments on commit edf338f

Please sign in to comment.