Skip to content

Commit

Permalink
Modify command message usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jane-Ng committed Sep 29, 2020
1 parent 0249bbb commit 1d71d58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/duke/commands/DateCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class DateCommand extends Command {
public static final String COMMAND_WORD = "date";

public static final String MESSAGE_USAGE = " date: Displays deadlines/events occurring on a specific date.\n"
+ " Parameters: DATE[yyyy-mm-dd]\n"
+ " Parameters: DATE(yyyy-MM-dd)\n"
+ " Example: date 2020-12-15";

private final LocalDate date;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/duke/commands/DeadlineCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class DeadlineCommand extends Command {

public static final String MESSAGE_USAGE =
" deadline: Adds a task that needs to be done before a specific date and time.\n"
+ " Parameters: TASK_DESCRIPTION /by DATE[yyyy-mm-dd] TIME[HHmm]\n"
+ " Parameters: TASK_DESCRIPTION /by DATE(yyyy-MM-dd) TIME(HHmm)\n"
+ " Example: deadline return book /by 2020-10-15 1800";

private final Task task;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/duke/commands/EventCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class EventCommand extends Command {

public static final String MESSAGE_USAGE =
" event: Adds a task that starts at a specific date and time and ends at a specific date and time.\n"
+ " Parameters: TASK_DESCRIPTION /at DATE[yyyy-mm-dd] START_TIME[HHmm]-END_TIME[HHmm]\n"
+ " Parameters: TASK_DESCRIPTION /at DATE(yyyy-MM-dd) START_TIME(HHmm)-END_TIME(HHmm)\n"
+ " Example: event project meeting /at 2020-12-15 1800-2000";

private final Task task;
Expand Down

0 comments on commit 1d71d58

Please sign in to comment.