From 90cfcdfc795d0c4eb6768eae9623a049e9e79e8d Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 16 Jul 2019 10:48:17 -0400 Subject: Moved the sorting of shortcuts into StatementParser which allows users to pass in a dictionary instead of a tuple for shortcuts. --- cmd2/argparse_custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd2/argparse_custom.py') 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 -- cgit v1.2.1