diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-09-28 21:26:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 21:26:24 -0400 |
commit | 61d5703cd3586b3460669a6260cf903c9863b240 (patch) | |
tree | 5b7f4893f7edfa60435946f1027b07933fe1b3cf /tests/conftest.py | |
parent | 87fdda149ade5c82d853334c87db0a2d11445594 (diff) | |
parent | 46bd94acbd10eced821827555a0ffd49a2f9cd92 (diff) | |
download | cmd2-git-61d5703cd3586b3460669a6260cf903c9863b240.tar.gz |
Merge pull request #553 from python-cmd2/argparse_conversion
Argparse conversion
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 2c7a2600..da7e8b08 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -38,16 +38,16 @@ Documented commands (type help <topic>): ================================================================================ alias Manage aliases edit Edit a file in a text editor -help List available commands with "help" or detailed help with "help cmd" +help List available commands or provide detailed help for a specific command 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 +load Run commands in script file that is encoded as either ASCII or UTF-8 text macro Manage macros -py Invoke python command, shell, or script -pyscript Runs a python script file inside the console -quit Exits this application -set Sets a settable parameter or shows current settings of parameters +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 Lists 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 |