If no arguments were given for`dcos task log` and `dcos task ls`, we were processing the command as `dcos task` with task-id log|ls.
If no arguments were given for`dcos task log` and `dcos task ls`, we were processing the command as `dcos task` with task-id log|ls.