Skip to content

Commit 6d79731

Browse files
committed
Added description of changes to CHANGELOG.
1 parent b0d4437 commit 6d79731

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
* Fixed bug where **alias** command was dropping quotes around arguments
55
* Fixed bug where running help on argparse commands didn't work if they didn't support -h
66
* Fixed transcript testing bug where last command in transcript has no expected output
7+
* Fixed bugs with how AutoCompleter and ArgparseFunctor handle argparse
8+
arguments with nargs=argparse.REMAINDER. Tab completion now correctly
9+
matches how argparse will parse the values. Command strings generated by
10+
ArgparseFunctor should now be compliant with how argparse expects
11+
REMAINDER arguments to be ordered.
12+
* Fixed bugs with how AutoCompleter handles flag prefixes. It is no
13+
longer hard-coded to use '-' and will check againstn the prefix_chars in
14+
the argparse object. Also, single-character tokens that happen to be a
15+
prefix char are not treated as flags by argparse and AutoCompleter now
16+
matches that behavior.
717
* Enhancements
818
* Added ``exit_code`` attribute of ``cmd2.Cmd`` class
919
* Enables applications to return a non-zero exit code when exiting from ``cmdloop``

0 commit comments

Comments
 (0)