Skip to content

Commit

Permalink
Merge pull request #87 from lm-44/Fix-ViewStudentHelp
Browse files Browse the repository at this point in the history
Fix view student help
  • Loading branch information
lm-44 authored Oct 16, 2024
2 parents 6e0f07b + 4179a7d commit a8a2232
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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);
}
}

Expand Down

0 comments on commit a8a2232

Please sign in to comment.