summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-05-27 15:45:34 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-05-27 15:45:34 -0400
commit9dd00461b22085d3f16b4cc178a222c30fe95d11 (patch)
treee1644047665caf1d15860be388510fe7b7b61d1a /examples/python_scripting.py
parent916060bde828d8911ec2bbb4db54396212514481 (diff)
downloadcmd2-git-9dd00461b22085d3f16b4cc178a222c30fe95d11.tar.gz
Add the -a/--all flag to the history command for showing all commands including those persisted from previous sessions
Also: - History class has been modified to keep track of the session start index - History class span(), str_search(), and regex_search() methods now take an optional 2nd boolean parameter `include_persisted` which determines whether or not commands persisted from previous sessions should be included by default - If a start index is manually specified, then it automatically includes the full search - Updates unit tests
Diffstat (limited to 'examples/python_scripting.py')
0 files changed, 0 insertions, 0 deletions