diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 10:48:17 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 10:48:17 -0400 |
| commit | 90cfcdfc795d0c4eb6768eae9623a049e9e79e8d (patch) | |
| tree | 0112e281f5c6c62afe041b53b13b4dfa0824e8c0 /cmd2/argparse_custom.py | |
| parent | 1820ebe60a4d059b6f016041fe9b401758ae321e (diff) | |
| download | cmd2-git-90cfcdfc795d0c4eb6768eae9623a049e9e79e8d.tar.gz | |
Moved the sorting of shortcuts into StatementParser which allows users to pass in a dictionary instead of a tuple for shortcuts.
Diffstat (limited to 'cmd2/argparse_custom.py')
| -rw-r--r-- | cmd2/argparse_custom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py index 1cdb7840..5d8e76ef 100644 --- a/cmd2/argparse_custom.py +++ b/cmd2/argparse_custom.py @@ -74,7 +74,7 @@ Tab Completion: completer_method This is exactly like completer_function, but the function needs to be an instance method of a cmd2-based class. When AutoCompleter calls the method, it will pass the app instance as the self argument. cmd2 provides - a few completer methods for convenience (e.g. path_complete, delimiter_complete) + a few completer methods for convenience (e.g., path_complete, delimiter_complete) Example: This adds file-path completion to an argument |
