diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-03 14:29:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-03 14:29:20 +0000 |
| commit | ca1eeaf207e701ba54e5fb7e5a5e2ec77e4fc7d7 (patch) | |
| tree | 83947bd6870a430b70ac7dee69d9ae79b184f537 | |
| parent | 0d8b986ddb0a654a7767be975fa0c2ac38221b19 (diff) | |
| parent | 65007432dc3fee8d9ab5024bbd14261362f5f348 (diff) | |
| download | python-openstackclient-ca1eeaf207e701ba54e5fb7e5a5e2ec77e4fc7d7.tar.gz | |
Merge "Fix a spell typos"
| -rw-r--r-- | doc/source/command-options.rst | 2 | ||||
| -rw-r--r-- | openstackclient/api/utils.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/command-options.rst b/doc/source/command-options.rst index edafb153..458c56bb 100644 --- a/doc/source/command-options.rst +++ b/doc/source/command-options.rst @@ -19,7 +19,7 @@ Boolean Options Boolean options for any command that sets a resource state, such as 'enabled' or 'public', shall always have both positive and negative options defined. -The names of those options shall either be a naturally occuring pair of +The names of those options shall either be a naturally occurring pair of words (in English) or a positive option and a negative option with `no-` prepended (such as in the traditional GNU option usage) like `--share` and `--no-share`. diff --git a/openstackclient/api/utils.py b/openstackclient/api/utils.py index b7ff7f23..fa759cd3 100644 --- a/openstackclient/api/utils.py +++ b/openstackclient/api/utils.py @@ -27,11 +27,11 @@ def simple_filter( be changed if any filtering occurs. :param string attr: The name of the attribute to filter. If attr does not exist no - match will succeed and no rows will be retrurned. If attr is + match will succeed and no rows will be returned. If attr is None no filtering will be performed and all rows will be returned. :param sring value: The value to filter. None is considered to be a 'no filter' value. - '' matches agains a Python empty string. + '' matches against a Python empty string. :param string property_field: The name of the data field containing a property dict to filter. If property_field is None, attr is a field name. If property_field |
