Skip to content

Commit

Permalink
Revert "added detailed help for edit and undo cmd"
Browse files Browse the repository at this point in the history
This reverts commit bfeaee1.
  • Loading branch information
NachosNLC committed Nov 5, 2016
1 parent 3327636 commit a81cfc9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/main/java/seedu/gtd/logic/commands/HelpCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,13 @@ public CommandResult execute() {
case ExitCommand.COMMAND_WORD:
return new CommandResult(ExitCommand.MESSAGE_USAGE);

case EditCommand.COMMAND_WORD:
return new CommandResult(EditCommand.MESSAGE_USAGE);

case UndoCommand.COMMAND_WORD:
return new CommandResult(UndoCommand.MESSAGE_USAGE);

case HelpCommand.COMMAND_WORD:
EventsCenter.getInstance().post(new ShowHelpRequestEvent());
return new CommandResult(MESSAGE_USAGE+"\n"+SHOWING_HELP_MESSAGE);
return new CommandResult(MESSAGE_USAGE+"/n"+SHOWING_HELP_MESSAGE);

default:
EventsCenter.getInstance().post(new ShowHelpRequestEvent());
return new CommandResult(MESSAGE_USAGE+"\n"+SHOWING_HELP_MESSAGE);
return new CommandResult(MESSAGE_USAGE+"/n"+SHOWING_HELP_MESSAGE);
}
}
}

0 comments on commit a81cfc9

Please sign in to comment.