summaryrefslogtreecommitdiff
path: root/tests/test_pyscript.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-10-05 13:32:04 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-10-05 13:32:04 -0400
commit734796b895bb85d67c651d9e8e8bf71e7d60b7e3 (patch)
tree5879270409a4992622da2933275ccaae30525ee6 /tests/test_pyscript.py
parent49cbec9969b4b53248d6097d8f395d92c74f7228 (diff)
downloadcmd2-git-734796b895bb85d67c651d9e8e8bf71e7d60b7e3.tar.gz
Using sub-command instead of subcommand where possible to be consistent with argparse
Diffstat (limited to 'tests/test_pyscript.py')
-rw-r--r--tests/test_pyscript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pyscript.py b/tests/test_pyscript.py
index 36e48598..6b72e940 100644
--- a/tests/test_pyscript.py
+++ b/tests/test_pyscript.py
@@ -65,7 +65,7 @@ class PyscriptExample(Cmd):
@with_argparser(media_parser)
def do_media(self, args):
- """Media management command demonstrates multiple layers of subcommands being handled by AutoCompleter"""
+ """Media management command demonstrates multiple layers of sub-commands being handled by AutoCompleter"""
func = getattr(args, 'func', None)
if func is not None:
# Call whatever subcommand function was selected