forked from nus-cs2103-AY2324S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add whitespace after flag in MESSAGE_USAGE of commands
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
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,18 +22,18 @@ public class AddCommand extends Command { | |
|
||
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a person to the address book. " | ||
+ "Parameters: " | ||
+ FLAG_NAME + "NAME " | ||
+ FLAG_PHONE + "PHONE " | ||
+ FLAG_EMAIL + "EMAIL " | ||
+ FLAG_ADDRESS + "ADDRESS " | ||
+ "[" + FLAG_TAG + "TAG]...\n" | ||
+ FLAG_NAME + " NAME " | ||
+ FLAG_PHONE + " PHONE " | ||
+ FLAG_EMAIL + " EMAIL " | ||
+ FLAG_ADDRESS + " ADDRESS " | ||
+ "[" + FLAG_TAG + " TAG]...\n" | ||
+ "Example: " + COMMAND_WORD + " " | ||
+ FLAG_NAME + "John Doe " | ||
+ FLAG_PHONE + "98765432 " | ||
+ FLAG_EMAIL + "[email protected] " | ||
+ FLAG_ADDRESS + "311, Clementi Ave 2, #02-25 " | ||
+ FLAG_TAG + "friends " | ||
+ FLAG_TAG + "owesMoney"; | ||
+ FLAG_NAME + " John Doe " | ||
+ FLAG_PHONE + " 98765432 " | ||
+ FLAG_EMAIL + " [email protected] " | ||
+ FLAG_ADDRESS + " 311, Clementi Ave 2, #02-25 " | ||
+ FLAG_TAG + " friends " | ||
+ FLAG_TAG + " owesMoney"; | ||
|
||
public static final String MESSAGE_SUCCESS = "New person added: %1$s"; | ||
public static final String MESSAGE_DUPLICATE_PERSON = "This person already exists in the address book"; | ||
|
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 |
---|---|---|
|
@@ -39,14 +39,14 @@ public class EditCommand extends Command { | |
+ "by the index number used in the displayed person list. " | ||
+ "Existing values will be overwritten by the input values.\n" | ||
+ "Parameters: INDEX (must be a positive integer) " | ||
+ "[" + FLAG_NAME + "NAME] " | ||
+ "[" + FLAG_PHONE + "PHONE] " | ||
+ "[" + FLAG_EMAIL + "EMAIL] " | ||
+ "[" + FLAG_ADDRESS + "ADDRESS] " | ||
+ "[" + FLAG_TAG + "TAG]...\n" | ||
+ "[" + FLAG_NAME + " NAME] " | ||
+ "[" + FLAG_PHONE + " PHONE] " | ||
+ "[" + FLAG_EMAIL + " EMAIL] " | ||
+ "[" + FLAG_ADDRESS + " ADDRESS] " | ||
+ "[" + FLAG_TAG + " TAG]...\n" | ||
+ "Example: " + COMMAND_WORD + " 1 " | ||
+ FLAG_PHONE + "91234567 " | ||
+ FLAG_EMAIL + "[email protected]"; | ||
+ FLAG_PHONE + " 91234567 " | ||
+ FLAG_EMAIL + " [email protected]"; | ||
|
||
public static final String MESSAGE_EDIT_PERSON_SUCCESS = "Edited Person: %1$s"; | ||
public static final String MESSAGE_NOT_EDITED = "At least one field to edit must be provided."; | ||
|