File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 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 ``
You can’t perform that action at this time.
0 commit comments