summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-09 22:56:24 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-09-09 22:56:24 -0400
commit0e8ab46adfbeac86291899115a28a36f6eb066bc (patch)
tree5cb0ac1cc50c821bcccffba77d79a472c6008bbc /tests
parent63f0aa3256ef4422c2b3eab3d9ea0d44a15cc93e (diff)
downloadcmd2-git-0e8ab46adfbeac86291899115a28a36f6eb066bc.tar.gz
Docstring updates
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py16
-rw-r--r--tests/test_cmd2.py12
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index f86a4c63..a23c44d0 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -35,23 +35,23 @@ BASE_HELP_VERBOSE = """
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, save, or clear previously entered commands.
-load Runs commands in script file that is encoded as either ASCII or UTF-8 text.
+edit Edit a file in a text editor
+help List available commands with "help" or detailed help with "help cmd"
+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
-quit Exits this application.
+quit Exits this application
set Sets a settable parameter or shows current settings of parameters
-shell Execute a command as if at the OS prompt.
-shortcuts Lists shortcuts (aliases) available.
+shell Execute a command as if at the OS prompt
+shortcuts Lists shortcuts available
unalias Unsets aliases
"""
# Help text for the history command
HELP_HISTORY = """Usage: history [arg] [-h] [-r | -e | -s | -o FILE | -t TRANSCRIPT | -c]
-View, run, edit, save, or clear previously entered commands.
+View, run, edit, save, or clear previously entered commands
positional arguments:
arg empty all history items
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 3aeb9959..fdf0f661 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -1244,15 +1244,15 @@ diddly This command does diddly
Other
================================================================================
alias Define or display aliases
-help List available commands with "help" or detailed help with "help cmd".
-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.
+help List available commands with "help" or detailed help with "help cmd"
+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
-quit Exits this application.
+quit Exits this application
set Sets a settable parameter or shows current settings of parameters
-shell Execute a command as if at the OS prompt.
-shortcuts Lists shortcuts (aliases) available.
+shell Execute a command as if at the OS prompt
+shortcuts Lists shortcuts available
unalias Unsets aliases
Undocumented commands: