From 0e8ab46adfbeac86291899115a28a36f6eb066bc Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sun, 9 Sep 2018 22:56:24 -0400 Subject: Docstring updates --- tests/conftest.py | 16 ++++++++-------- tests/test_cmd2.py | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'tests') 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 ): ================================================================================ 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: -- cgit v1.2.1