diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-05-27 16:00:05 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-05-27 16:00:05 -0400 |
commit | 77cf791c9b554828bc4e7043e42771ac1e19edaf (patch) | |
tree | df64d04d4e36ebf8a8c643763cae5b1678c70c29 /cmd2/history.py | |
parent | 9dd00461b22085d3f16b4cc178a222c30fe95d11 (diff) | |
download | cmd2-git-77cf791c9b554828bc4e7043e42771ac1e19edaf.tar.gz |
Minor rewording of a couple comments
Diffstat (limited to 'cmd2/history.py')
-rw-r--r-- | cmd2/history.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/history.py b/cmd2/history.py index a36f489e..bbeb9199 100644 --- a/cmd2/history.py +++ b/cmd2/history.py @@ -222,7 +222,7 @@ class History(list): """Find history items which contain a given string :param search: the string to search for - :param include_persisted: (optional) if True, then search full history including from persisted history + :param include_persisted: (optional) if True, then search full history including persisted history :return: a list of history items, or an empty list if the string was not found """ def isin(history_item): @@ -239,7 +239,7 @@ class History(list): """Find history items which match a given regular expression :param regex: the regular expression to search for. - :param include_persisted: (optional) if True, then search full history including from persisted history + :param include_persisted: (optional) if True, then search full history including persisted history :return: a list of history items, or an empty list if the string was not found """ regex = regex.strip() |