diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-09-01 14:12:06 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-09-01 14:20:26 -0400 |
| commit | ceacf225e5e267a96bf5db4fc5bb7702fa6f8a72 (patch) | |
| tree | 904044e79cbb4b6f74db56a89bf704aa8658e97d /cmd2 | |
| parent | 64fdc44febc5d2551889cd973699d84dbb849f37 (diff) | |
| download | cmd2-git-ceacf225e5e267a96bf5db4fc5bb7702fa6f8a72.tar.gz | |
Updating docs
Diffstat (limited to 'cmd2')
| -rw-r--r-- | cmd2/argparse_custom.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py index b33dd95c..280e46ba 100644 --- a/cmd2/argparse_custom.py +++ b/cmd2/argparse_custom.py @@ -966,6 +966,8 @@ def _ArgumentParser_set_ap_completer_type(self: argparse.ArgumentParser, ap_comp This function is added by cmd2 as a method called ``set_ap_completer_type()`` to ``argparse.ArgumentParser`` class. + To call: ``parser.set_ap_completer_type(ap_completer_type)`` + :param self: ArgumentParser being edited :param ap_completer_type: the custom ArgparseCompleter-based class to use when tab completing arguments for this parser """ |
