##### SUMMARY
cli contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/cli/__init__.py:358:16: ansible-deprecated-version: Deprecated version ('2.13') found in call to Display.deprecated or AnsibleModule.deprecate
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/cli/__init__.py
```

##### ANSIBLE VERSION
```
2.13
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

no_hosts = False
        if len(inventory.list_hosts()) == 0:
            
            if C.LOCALHOST_WARNING and pattern not in C.LOCALHOST:
                display.warning("provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'")
            no_hosts = True
        inventory.subset(subset)
        hosts = inventory.list_hosts(pattern)
        if not hosts and no_hosts is False:
            raise AnsibleError("Specified hosts and/or --limit does not match any hosts")
        return hosts
    @staticmethod
    def get_password_from_file(pwd_file):
        b_pwd_file = to_bytes(pwd_file)
        secret = None
        if b_pwd_file == b'-':
            if PY3: