Commit Graph

1 Commits

Author SHA1 Message Date
Leon Anavi
2300858be1 python3-cmd2: Upgrade 2.3.0 -> 2.3.1
Upgrade to release 2.3.1:

- Fixed issue introduced in 2.3.0 with AlternatingTable,
  BorderedTable, and SimpleTable that caused header alignment
  settings to be overridden by data alignment settings.
- CompletionItems now saves the original object from which it
  creates a string.
- Using CompletionItems as argparse choices is fully supported.
  cmd2 patched argparse to compare input to the original value
  instead of the CompletionItems instance.
- ArgparseCompleter now does the following if a list of
  CompletionItems was created with numerical types:
  * Sorts completion hints numerically
  * Right-aligns the left-most column in completion hint table

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-20 12:07:09 -08:00