Skip to content

Commit

Permalink
Fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dasha3412 committed Oct 17, 2024
1 parent 449a913 commit 4942436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DeleteTagCommand extends Command {

public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Deletes the tag identified by the tag name.\n"
+ "Parameters: " + PREFIX_TAG + "TAG (must exists in the AddressBook)\n"
+ "Parameters: " + PREFIX_TAG + "TAG (must exist in the AddressBook)\n"
+ "Example: " + COMMAND_WORD + " " + PREFIX_TAG + "florist";

public static final String MESSAGE_DELETE_TAG_SUCCESS = "Deleted Tag: %1$s";
Expand Down
9 changes: 3 additions & 6 deletions src/main/java/seedu/address/logic/commands/EditCommand.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
package seedu.address.logic.commands;

import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;
import static seedu.address.logic.parser.CliSyntax.*;
import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS;

import java.util.Collections;
Expand Down Expand Up @@ -44,7 +40,8 @@ public class EditCommand extends Command {
+ "[" + PREFIX_PHONE + "PHONE] "
+ "[" + PREFIX_EMAIL + "EMAIL] "
+ "[" + PREFIX_ADDRESS + "ADDRESS] "
+ "[" + PREFIX_TAG + "TAG]...\n"
+ "[" + PREFIX_TAG + "TAG]... "
+ "[" + PREFIX_WEDDING + "WEDDING]...\n"
+ "Example: " + COMMAND_WORD + " 1 "
+ PREFIX_PHONE + "91234567 "
+ PREFIX_EMAIL + "johndoe@example.com";
Expand Down

0 comments on commit 4942436

Please sign in to comment.