Added a return statement to the --list option to prevent any task from being executed