summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-07 10:14:59 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-05-07 10:14:59 -0400
commit47999ffd250eab4875747b32af2e7b7505212d67 (patch)
tree02ba0cea776cb23651353314e572f74e543e8acd /examples
parentee15a3df954b3a9551f29f72f097134a6a5300cc (diff)
downloadcmd2-git-47999ffd250eab4875747b32af2e7b7505212d67.tar.gz
Improved code coverage
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': '/',