diff --git a/src/main/java/seedu/address/logic/parser/ViewStudentCommandParser.java b/src/main/java/seedu/address/logic/parser/ViewStudentCommandParser.java index eff6bc4a0a3..78b1f45467e 100644 --- a/src/main/java/seedu/address/logic/parser/ViewStudentCommandParser.java +++ b/src/main/java/seedu/address/logic/parser/ViewStudentCommandParser.java @@ -3,7 +3,6 @@ import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import seedu.address.commons.core.index.Index; -import seedu.address.logic.commands.DeleteCommand; import seedu.address.logic.commands.ViewStudentCommand; import seedu.address.logic.parser.exceptions.ParseException; @@ -23,7 +22,7 @@ public ViewStudentCommand parse(String args) throws ParseException { return new ViewStudentCommand(index); } catch (ParseException pe) { throw new ParseException( - String.format(MESSAGE_INVALID_COMMAND_FORMAT, DeleteCommand.MESSAGE_USAGE), pe); + String.format(MESSAGE_INVALID_COMMAND_FORMAT, ViewStudentCommand.MESSAGE_USAGE), pe); } }