diff options
author | Eric Lin <anselor@gmail.com> | 2018-10-06 18:15:23 +0000 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-10-06 18:15:23 +0000 |
commit | fb575e41251156a90044055e8a352079e4f75866 (patch) | |
tree | c8f013e04d7a9e28164367228fb0249e5b1dbbb2 /examples/tab_autocompletion.py | |
parent | 6d79731ae51229d46263dcddfc945946afa6e238 (diff) | |
parent | 467be57e647112f536becc8625ffa080cb67a0ce (diff) | |
download | cmd2-git-fb575e41251156a90044055e8a352079e4f75866.tar.gz |
Merge remote-tracking branch 'origin/master' into argparse_remainder
Diffstat (limited to 'examples/tab_autocompletion.py')
-rwxr-xr-x | examples/tab_autocompletion.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py index 7725be95..571b4082 100755 --- a/examples/tab_autocompletion.py +++ b/examples/tab_autocompletion.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' @@ -275,7 +275,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 @@ -358,7 +358,7 @@ class TabCompleteExample(cmd2.Cmd): @cmd2.with_category(CAT_AUTOCOMPLETE) @cmd2.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 @@ -459,7 +459,7 @@ class TabCompleteExample(cmd2.Cmd): @cmd2.with_category(CAT_AUTOCOMPLETE) @cmd2.with_argparser(library_parser) def do_library(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 |