Added option --error to return error on every command.