diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-10-05 13:32:04 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-10-05 13:32:04 -0400 |
commit | 734796b895bb85d67c651d9e8e8bf71e7d60b7e3 (patch) | |
tree | 5879270409a4992622da2933275ccaae30525ee6 /examples/tab_autocomp_dynamic.py | |
parent | 49cbec9969b4b53248d6097d8f395d92c74f7228 (diff) | |
download | cmd2-git-734796b895bb85d67c651d9e8e8bf71e7d60b7e3.tar.gz |
Using sub-command instead of subcommand where possible to be consistent with argparse
Diffstat (limited to 'examples/tab_autocomp_dynamic.py')
-rwxr-xr-x | examples/tab_autocomp_dynamic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tab_autocomp_dynamic.py b/examples/tab_autocomp_dynamic.py index 2c90b7a2..af77b204 100755 --- a/examples/tab_autocomp_dynamic.py +++ b/examples/tab_autocomp_dynamic.py @@ -25,7 +25,7 @@ def query_actors() -> List[str]: class TabCompleteExample(cmd2.Cmd): - """ Example cmd2 application where we a base command which has a couple subcommands.""" + """ Example cmd2 application where we a base command which has a couple sub-commands.""" CAT_AUTOCOMPLETE = 'AutoComplete Examples' @@ -225,7 +225,7 @@ class TabCompleteExample(cmd2.Cmd): @cmd2.with_category(CAT_AUTOCOMPLETE) @cmd2.with_argparser(video_parser) def do_video(self, args): - """Video management command demonstrates multiple layers of subcommands being handled by AutoCompleter""" + """Video 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 |