Skip to content

Commit

Permalink
Merge 0ac62a8 into c750c90
Browse files Browse the repository at this point in the history
  • Loading branch information
Happytreat committed Nov 12, 2018
2 parents c750c90 + 0ac62a8 commit fb9178b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/UserGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ Format: `list`

=== Listing all groups a person is in : `list` (Melodies)

Short form/Alias: `l`

Shows a list of all groups the person specified by his PERSON_INDEX is in. +
Format: `list PERSON_INDEX`

Expand Down
2 changes: 2 additions & 0 deletions docs/team/happytreat.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ NUS Hangs is a desktop Schedule Manager application. It has a GUI but most user
|===
|_Given below are sections I contributed to the User Guide. They showcase my ability to write documentation targeting end-users._
|===
include::../UserGuide.adoc[tag=list]

include::../UserGuide.adoc[tag=groups]

== Contributions to the Developer Guide
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class EditGroupCommand extends Command {

public static final String ALIAS = "eg";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the group identified. "
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the group identified "
+ "by its name. "
+ "Existing values will be overwritten by the input values.\n"
+ "Parameters: Current name "
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/seedu/address/logic/commands/FindCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ public class FindCommand extends Command {
public static final String ALIAS = "f";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all person in NUS Hangs "
+ "(Prefix Search/ Case-Insensitive) and displays them as a list.\n"
+ "(Prefix Search is case-insensitive) and displays them as a list.\n"
+ "Parameters:\n"
+ PREFIX_NAME + "NAME "
+ PREFIX_PHONE + "PHONE "
+ PREFIX_EMAIL + "EMAIL "
+ PREFIX_ADDRESS + "ADDRESS "
+ "[" + PREFIX_NAME + "NAME] "
+ "[" + PREFIX_PHONE + "PHONE] "
+ "[" + PREFIX_EMAIL + "EMAIL] "
+ "[" + PREFIX_ADDRESS + "ADDRESS] "
+ "[" + PREFIX_TAG + "TAG]...\n"
+ "Example: " + COMMAND_WORD + " "
+ PREFIX_NAME + "alex "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class RegisterCommand extends Command {
public static final String ALIAS = "r";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Add an existing person to a group. "
+ "Parameters: INDEX\n"
+ "Parameters: INDEX "
+ PREFIX_NAME + " GROUP NAME\n"
+ "Example: " + COMMAND_WORD + " 1 "
+ PREFIX_NAME + "Family ";
Expand Down

0 comments on commit fb9178b

Please sign in to comment.