Skip to content

Commit

Permalink
Add whitespace after flag in MESSAGE_USAGE of commands
Browse files Browse the repository at this point in the history
  • Loading branch information
wxwern committed Oct 7, 2023
1 parent 2cecfa4 commit a739670
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
22 changes: 11 additions & 11 deletions src/main/java/seedu/address/logic/commands/AddCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/seedu/address/logic/commands/EditCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down

0 comments on commit a739670

Please sign in to comment.