summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-26 15:26:45 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-26 15:26:45 -0400
commitdf94d94afdfd4484d8617771daf7bfd50c299a15 (patch)
treeb67ea6f8044ee3f36f454ab9b232f87194d099d1 /tests
parent8aeb29cf1fd027093b87b8f9f9c640cf50595db7 (diff)
downloadcmd2-git-df94d94afdfd4484d8617771daf7bfd50c299a15.tar.gz
Tweaked help text
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py10
-rw-r--r--tests/test_cmd2.py6
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index da6ffcd6..b6f8587f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -42,12 +42,12 @@ help List available commands with "help" or detailed help with "h
history View, run, edit, save, or clear previously entered commands
load Run commands in script file that is encoded as either ASCII or UTF-8 text
macro Manage macros
-py Invoke python command or shell
-pyscript Run a python script file inside the console
+py Invoke Python command or shell
+pyscript Run a Python script file inside the console
quit Exit this application
set Set a settable parameter or show current settings of parameters
shell Execute a command as if at the OS prompt
-shortcuts List shortcuts available
+shortcuts List available shortcuts
"""
# Help text for the history command
@@ -66,12 +66,12 @@ 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
- -s, --script script format; no separation lines
+ -s, --script output commands in script format
-o, --output-file FILE
output commands to a script file
-t, --transcript TRANSCRIPT
output commands and results to a transcript file
- -c, --clear clears all history
+ -c, --clear clear all history
"""
# Output from the shortcuts command with default built-in shortcuts
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index d3d1d585..f388aaa5 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1256,12 +1256,12 @@ help List available commands with "help" or detailed help with "h
history View, run, edit, save, or clear previously entered commands
load Run commands in script file that is encoded as either ASCII or UTF-8 text
macro Manage macros
-py Invoke python command or shell
-pyscript Run a python script file inside the console
+py Invoke Python command or shell
+pyscript Run a Python script file inside the console
quit Exit this application
set Set a settable parameter or show current settings of parameters
shell Execute a command as if at the OS prompt
-shortcuts List shortcuts available
+shortcuts List available shortcuts
Undocumented commands:
======================