Skip to content

Commit

Permalink
Merge pull request AY2324S2-CS2103T-T08-2#221 from bertrandong/fix-de…
Browse files Browse the repository at this point in the history
…lete-error-message

Fix incorrect delete menu error message
  • Loading branch information
bertrandong authored Apr 13, 2024
2 parents 9953c09 + a63c0fe commit 0150678
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package seedu.address.logic.commands;

import static java.util.Objects.requireNonNull;
import static seedu.address.logic.parser.CliSyntax.PREFIX_MENU;

import java.util.List;

Expand All @@ -20,7 +21,7 @@ public class DeleteMenuCommand extends DeleteCommand {
public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Deletes the product identified by the index number used in the displayed menu.\n"
+ "Parameters: INDEX (must be a positive integer)\n"
+ "Example: " + COMMAND_WORD + " 1";
+ "Example: " + COMMAND_WORD + " " + PREFIX_MENU + "1";

public static final String MESSAGE_DELETE_PRODUCT_SUCCESS = "Deleted Product: %1$s";

Expand Down

0 comments on commit 0150678

Please sign in to comment.