diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-12 20:37:50 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-12 20:37:50 -0400 |
commit | 670f0eb7707b8a7e1e7368346c927244ead46b8b (patch) | |
tree | 80f49c8e379327a1aa9b3d5489c0e9759bf0f95b /tests/conftest.py | |
parent | 9fc9d196b73838842fb2e3e7d9c84d17e1c7fdec (diff) | |
parent | 625aea03324119b0ed7c2e84afd5575ffc8fa72a (diff) | |
download | cmd2-git-670f0eb7707b8a7e1e7368346c927244ead46b8b.tar.gz |
Resolved merge conflict from merging master into plugin_functions
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 90d45bd9..3f3b862e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -37,7 +37,7 @@ Documented commands (type help <topic>): alias Define or display aliases edit Edit a file in a text editor. help List available commands with "help" or detailed help with "help cmd". -history View, run, edit, and save previously entered commands. +history View, run, edit, save, or clear previously entered commands. load Runs commands in script file that is encoded as either ASCII or UTF-8 text. py Invoke python command, shell, or script pyscript Runs a python script file inside the console @@ -49,9 +49,9 @@ unalias Unsets aliases """ # Help text for the history command -HELP_HISTORY = """usage: history [-h] [-r | -e | -s | -o FILE | -t TRANSCRIPT] [arg] +HELP_HISTORY = """usage: history [-h] [-r | -e | -s | -o FILE | -t TRANSCRIPT | -c] [arg] -View, run, edit, and save previously entered commands. +View, run, edit, save, or clear previously entered commands. positional arguments: arg empty all history items @@ -69,6 +69,7 @@ optional arguments: output commands to a script file -t TRANSCRIPT, --transcript TRANSCRIPT output commands and results to a transcript file + -c, --clear clears all history """ # Output from the shortcuts command with default built-in shortcuts |