package seedu.address.logic.commands;


/**
 * Lists all persons in the address book to the user.
 */
public class ListCommand extends Command {

    public static final String COMMAND_WORD = "list";

    public static final String MESSAGE_SUCCESS = "Listed all persons";


    @Override
    public CommandResult execute() {
        model.updateFilteredListToShowAll();
        return new CommandResult(MESSAGE_SUCCESS);
    }
}

@@ -33,16 +33,37 @@
 ands;%0A%0A%0A
+//@@author A0164466X%0A
 /**%0A * L
@@ -71,22 +71,20 @@
 sts all 
-person
+task
 s in the
@@ -88,20 +88,20 @@
 the 
-address book
+task manager
  to 
@@ -278,14 +278,12 @@
 all 
-person
+task
 s%22;%0A

Correct List command to display "tasks" instead of "persons"