diff options
-rw-r--r-- | CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e09d25b2..4c5fd65e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ * Fixed bug where **alias** command was dropping quotes around arguments * Fixed bug where running help on argparse commands didn't work if they didn't support -h * Fixed transcript testing bug where last command in transcript has no expected output + * Fixed bugs with how AutoCompleter and ArgparseFunctor handle argparse + arguments with nargs=argparse.REMAINDER. Tab completion now correctly + matches how argparse will parse the values. Command strings generated by + ArgparseFunctor should now be compliant with how argparse expects + REMAINDER arguments to be ordered. + * Fixed bugs with how AutoCompleter handles flag prefixes. It is no + longer hard-coded to use '-' and will check againstn the prefix_chars in + the argparse object. Also, single-character tokens that happen to be a + prefix char are not treated as flags by argparse and AutoCompleter now + matches that behavior. * Enhancements * Added ``exit_code`` attribute of ``cmd2.Cmd`` class * Enables applications to return a non-zero exit code when exiting from ``cmdloop`` |