diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-05-07 21:11:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 21:11:44 -0400 |
commit | 46f0aed0b66f45d08ef7fa8b16f787dc79ea32b1 (patch) | |
tree | 02ba0cea776cb23651353314e572f74e543e8acd /examples/tab_autocomp_dynamic.py | |
parent | 673d8a1bebcada7f0182758acfe7f65637113286 (diff) | |
parent | 47999ffd250eab4875747b32af2e7b7505212d67 (diff) | |
download | cmd2-git-46f0aed0b66f45d08ef7fa8b16f787dc79ea32b1.tar.gz |
Merge pull request #671 from python-cmd2/completion_exceptions
Improved tab completion error feedback
Diffstat (limited to 'examples/tab_autocomp_dynamic.py')
-rwxr-xr-x | examples/tab_autocomp_dynamic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tab_autocomp_dynamic.py b/examples/tab_autocomp_dynamic.py index bedc9d4b..93b72442 100755 --- a/examples/tab_autocomp_dynamic.py +++ b/examples/tab_autocomp_dynamic.py @@ -69,7 +69,7 @@ class TabCompleteExample(cmd2.Cmd): setattr(director_action, argparse_completer.ACTION_ARG_CHOICES, TabCompleteExample.static_list_directors) setattr(actor_action, argparse_completer.ACTION_ARG_CHOICES, 'instance_query_actors') - # tag the file property with a custom completion function 'delimeter_complete' provided by cmd2. + # tag the file property with a custom completion function 'delimiter_complete' provided by cmd2. setattr(vid_movie_file_action, argparse_completer.ACTION_ARG_CHOICES, ('delimiter_complete', {'delimiter': '/', |