summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 12:55:28 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 12:55:28 -0400
commit905dbd657d481e6aaaa035cecc794bc96711f603 (patch)
tree218c407bc7170f3d92e3f20906cf5959d5b5ec81 /tests
parenteb882b2b308bb2e09761a74007ea308b489c2d56 (diff)
downloadcmd2-git-905dbd657d481e6aaaa035cecc794bc96711f603.tar.gz
Fixed documentation for run_script and renamed history option
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index c0aea4a6..e09e07b1 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -44,8 +44,8 @@ def verify_help_text(cmd2_app: cmd2.Cmd, help_output: Union[str, List[str]]) ->
# Help text for the history command
-HELP_HISTORY = """Usage: history [-h] [-r | -e | -o FILE | -t TRANSCRIPT | -c] [-s] [-x] [-v]
- [-a]
+HELP_HISTORY = """Usage: history [-h] [-r | -e | -o FILE | -t TRANSCRIPT_FILE | -c] [-s] [-x]
+ [-v] [-a]
[arg]
View, run, edit, save, or clear previously entered commands
@@ -61,9 +61,9 @@ optional arguments:
-h, --help show this help message and exit
-r, --run run selected history items
-e, --edit edit and then run selected history items
- -o, --output-file FILE
+ -o, --output_file FILE
output commands to a script file, implies -s
- -t, --transcript TRANSCRIPT
+ -t, --transcript TRANSCRIPT_FILE
output commands and results to a transcript file,
implies -s
-c, --clear clear all history