diff --git a/src/main/java/seedu/address/logic/commands/AddCommand.java b/src/main/java/seedu/address/logic/commands/AddCommand.java index b384980b19e..bcbcf2a3f48 100644 --- a/src/main/java/seedu/address/logic/commands/AddCommand.java +++ b/src/main/java/seedu/address/logic/commands/AddCommand.java @@ -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 + "johnd@example.com " - + FLAG_ADDRESS + "311, Clementi Ave 2, #02-25 " - + FLAG_TAG + "friends " - + FLAG_TAG + "owesMoney"; + + FLAG_NAME + " John Doe " + + FLAG_PHONE + " 98765432 " + + FLAG_EMAIL + " johnd@example.com " + + 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"; diff --git a/src/main/java/seedu/address/logic/commands/EditCommand.java b/src/main/java/seedu/address/logic/commands/EditCommand.java index 37449b91b72..58193ae3693 100644 --- a/src/main/java/seedu/address/logic/commands/EditCommand.java +++ b/src/main/java/seedu/address/logic/commands/EditCommand.java @@ -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 + "johndoe@example.com"; + + FLAG_PHONE + " 91234567 " + + FLAG_EMAIL + " johndoe@example.com"; 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.";