diff --git a/src/main/java/seedu/waddle/logic/parser/AddItemCommandParser.java b/src/main/java/seedu/waddle/logic/parser/AddItemCommandParser.java index e8b4506b0c7..31bcb8f4f31 100644 --- a/src/main/java/seedu/waddle/logic/parser/AddItemCommandParser.java +++ b/src/main/java/seedu/waddle/logic/parser/AddItemCommandParser.java @@ -25,7 +25,7 @@ public AddItemCommand parse(String args) throws ParseException { if (!arePrefixesPresent(argMultimap, PREFIX_DESCRIPTION) || !argMultimap.getPreamble().isEmpty()) { - throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AddCommand.MESSAGE_USAGE)); + throw new ParseException(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AddItemCommand.MESSAGE_USAGE)); } String description = ParserUtil.parseDescription(argMultimap.getValue(PREFIX_DESCRIPTION).get());