summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 11:00:25 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 11:00:25 -0400
commit9b38c8c2a5da60676b49f91f4671be2e1e8b0d0e (patch)
tree0c840ae146fc93616ee225115ca2d463e8902966
parent778626211264f7e068013c37677734ced577ae1e (diff)
downloadcmd2-git-9b38c8c2a5da60676b49f91f4671be2e1e8b0d0e.tar.gz
Updated change log
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 43b118e0..b70d23a0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,10 @@
* Moved `basic_complete` to utils.py
* Made optional arguments on the following completer methods keyword-only:
`delimiter_complete`, `flag_based_complete`, `index_based_complete`. `path_complete`, `shell_cmd_complete`
+ * Renamed `matches_sort_key` to `default_sort_key`. This value determines the default sort ordering of string
+ results like alias, command, category, macro, settable, and shortcut names. Unsorted tab-completion results
+ also are sorted with this key. Its default value (ALPHABETICAL_SORT_KEY) performs a case-insensitive alphabetical
+ sort, but it can be changed to a natural sort by setting the value to NATURAL_SORT_KEY.
* `StatementParser` now expects shortcuts to be passed in as dictionary. This eliminates the step of converting the
shortcuts dictionary into a tuple before creating `StatementParser`.