summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-17 12:45:20 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-17 12:45:20 -0500
commit878601bc07e5298d50fbf1bd6a8fc2062fef5ed4 (patch)
tree8f84d58da3268daf9ce9ebeb0a0dc5e81c6f7246 /cmd2/utils.py
parent2221e08e996a34660125536e3fc34eb231b3b060 (diff)
downloadcmd2-git-878601bc07e5298d50fbf1bd6a8fc2062fef5ed4.tar.gz
Renamed AutoCompleter to ArgparseCompleter for clarity
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py
index e324c2f1..b307e0d2 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -109,8 +109,8 @@ class Settable:
for this argument (See note below)
Note:
- For choices_method and completer_method, do not set them to a bound method. This is because AutoCompleter
- passes the self argument explicitly to these functions.
+ For choices_method and completer_method, do not set them to a bound method. This is because
+ ArgparseCompleter passes the self argument explicitly to these functions.
Therefore instead of passing something like self.path_complete, pass cmd2.Cmd.path_complete.
"""