summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-05-07 21:11:44 -0400
committerGitHub <noreply@github.com>2019-05-07 21:11:44 -0400
commit46f0aed0b66f45d08ef7fa8b16f787dc79ea32b1 (patch)
tree02ba0cea776cb23651353314e572f74e543e8acd /examples
parent673d8a1bebcada7f0182758acfe7f65637113286 (diff)
parent47999ffd250eab4875747b32af2e7b7505212d67 (diff)
downloadcmd2-git-46f0aed0b66f45d08ef7fa8b16f787dc79ea32b1.tar.gz
Merge pull request #671 from python-cmd2/completion_exceptions
Improved tab completion error feedback
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/tab_autocomp_dynamic.py2
-rwxr-xr-xexamples/tab_autocompletion.py2
2 files changed, 2 insertions, 2 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': '/',
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py
index aa28fc10..3f06a274 100755
--- a/examples/tab_autocompletion.py
+++ b/examples/tab_autocompletion.py
@@ -255,7 +255,7 @@ class TabCompleteExample(cmd2.Cmd):
setattr(director_action, argparse_completer.ACTION_ARG_CHOICES, 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': '/',