forked from nus-cs2103-AY2122S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from AY2122S1-CS2103T-W15-3/update-ug
Update User Guide
- Loading branch information
Showing
10 changed files
with
602 additions
and
243 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,18 +21,21 @@ | |
public class CFindCommand extends Command { | ||
|
||
public static final String COMMAND_WORD = "cfind"; | ||
public static final String PARAMETERS = "[KEYWORD]… " | ||
+ "[" + PREFIX_PHONE + "KEYWORD…] " | ||
+ "[" + PREFIX_EMAIL + "KEYWORD…] " | ||
+ "[" + PREFIX_ADDRESS + "KEYWORD…] " | ||
+ "[" + PREFIX_TELEGRAM + "KEYWORD…] " | ||
+ "[" + PREFIX_ZOOM + "KEYWORD…] " | ||
+ "[" + PREFIX_TAG + "KEYWORD…]\n"; | ||
public static final String SYNTAX = COMMAND_WORD + " " + PARAMETERS; | ||
|
||
|
||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all contacts whose fields contains any of the " | ||
+ "given keywords.\n" | ||
+ "At least one field must be present, name keywords must follow directly after the command word\n" | ||
+ "Parameters: [NAME_KEYWORD] " | ||
+ "[" + PREFIX_PHONE + "PHONE_KEYWORDS] " | ||
+ "[" + PREFIX_EMAIL + "EMAIL_KEYWORDS] " | ||
+ "[" + PREFIX_ADDRESS + "ADDRESS_KEYWORDS] " | ||
+ "[" + PREFIX_TELEGRAM + "TELEGRAM_KEYWORDS] " | ||
+ "[" + PREFIX_ZOOM + "ZOOM_KEYWORDS] " | ||
+ "[" + PREFIX_TAG + "TAG_KEYWORDS]\n" | ||
+ "At least one keyword must be present. " | ||
+ "For name search, keywords must follow directly after the command word\n" | ||
+ "Parameters: " + PARAMETERS | ||
+ "Example: " + COMMAND_WORD + " alice bob charlie " | ||
+ PREFIX_PHONE + "91234567 " | ||
+ PREFIX_EMAIL + "[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,17 +22,20 @@ | |
public class EFindCommand extends Command { | ||
|
||
public static final String COMMAND_WORD = "efind"; | ||
public static final String PARAMETERS = "[KEYWORD]… " | ||
+ "[" + PREFIX_START_TIME + "KEYWORD…] " | ||
+ "[" + PREFIX_END_TIME + "KEYWORD…] " | ||
+ "[" + PREFIX_ADDRESS + "KEYWORD…] " | ||
+ "[" + PREFIX_DESCRIPTION + "KEYWORD…] " | ||
+ "[" + PREFIX_ZOOM + "KEYWORD…] " | ||
+ "[" + PREFIX_TAG + "KEYWORD…]\n"; | ||
public static final String SYNTAX = COMMAND_WORD + " " + PARAMETERS; | ||
|
||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all events whose fields contains any of the " | ||
+ "given keywords.\n" | ||
+ "At least one field must be present, name keywords must follow directly after the command word\n" | ||
+ "Parameters: [NAME_KEYWORD] " | ||
+ "[" + PREFIX_START_TIME + "START_TIME_KEYWORDS] " | ||
+ "[" + PREFIX_END_TIME + "END_TIME_KEYWORDS] " | ||
+ "[" + PREFIX_ADDRESS + "ADDRESS_KEYWORDS] " | ||
+ "[" + PREFIX_DESCRIPTION + "DESCRIPTION_KEYWORDS] " | ||
+ "[" + PREFIX_ZOOM + "ZOOM_KEYWORDS] " | ||
+ "[" + PREFIX_TAG + "TAG_KEYWORDS]\n" | ||
+ "At least one keyword must be present. " | ||
+ "For name search, keywords must follow directly after the command word\n" | ||
+ "Parameters: " + PARAMETERS | ||
+ "Example: " + COMMAND_WORD + " cs 2103t " | ||
+ PREFIX_START_TIME + "2020-12-01 " | ||
+ PREFIX_EMAIL + "[email protected]"; | ||
|