summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/command-options.rst2
-rw-r--r--openstackclient/api/utils.py4
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